forked from expo/troggle
Fixed cave order
This commit is contained in:
parent
2208f0748b
commit
b2fc3dd35b
@ -30,10 +30,10 @@ def numericalcmp(x, y):
|
||||
|
||||
|
||||
|
||||
def caveCmp(x, y):
|
||||
def caveCmp(x, y):
|
||||
if x.kataster_number:
|
||||
if y.kataster_number:
|
||||
return numericalcmp(x.kataster_number, y.kataster_number)
|
||||
return numericalcmp(x.kataster_number, y.kataster_number) # Note that cave kataster numbers are not generally integers.
|
||||
else:
|
||||
return -1
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user