Fixed cave order

This commit is contained in:
expo 2012-08-05 19:28:34 +02:00
parent ed1d273e03
commit c0782e1cca

View File

@ -33,7 +33,7 @@ def numericalcmp(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: