From c0782e1cca0e2a21f5d03ce7694c313481b38ee0 Mon Sep 17 00:00:00 2001 From: expo Date: Sun, 5 Aug 2012 19:28:34 +0200 Subject: [PATCH] Fixed cave order --- core/views_caves.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/views_caves.py b/core/views_caves.py index 90b6f5e..2c32aa4 100644 --- a/core/views_caves.py +++ b/core/views_caves.py @@ -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: