forked from expo/troggle
Fixed cave order
This commit is contained in:
parent
ed1d273e03
commit
c0782e1cca
@ -33,7 +33,7 @@ def numericalcmp(x, y):
|
|||||||
def caveCmp(x, y):
|
def caveCmp(x, y):
|
||||||
if x.kataster_number:
|
if x.kataster_number:
|
||||||
if y.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:
|
else:
|
||||||
return -1
|
return -1
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user