Fixed cave order

This commit is contained in:
expo 2012-08-05 19:28:34 +02:00
parent 2208f0748b
commit b2fc3dd35b

View File

@ -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: