maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH maposmatic] cosmetics


From: David Decotigny
Subject: [Maposmatic-dev] [PATCH maposmatic] cosmetics
Date: Tue, 22 Dec 2009 10:34:57 +0100

---
 www/maposmatic/nominatim.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/www/maposmatic/nominatim.py b/www/maposmatic/nominatim.py
index e4dd85a..64659f3 100644
--- a/www/maposmatic/nominatim.py
+++ b/www/maposmatic/nominatim.py
@@ -201,7 +201,8 @@ def _retrieve_missing_data_from_GIS(entries):
                                    admin_level=admin_level,
                                    way_area=way_area)
                         # Make these first in list, priviledging level 8
-                        entry_rank = 
(ADMIN_LEVEL_RANKS.get(admin_level,9),-way_area)
+                        entry_rank = (ADMIN_LEVEL_RANKS.get(admin_level,9),
+                                      -way_area)
                         break
 
             # Register this entry for the results
-- 
1.6.3.3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]