Merge branch 'master' into stable

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
stable
Maxime Petazzoni 2012-11-29 11:14:56 -08:00
commit 8672934b2a
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -42,8 +42,11 @@ def get_osm_database_last_update():
placed into the maposmatic_admin table in the PostGIS database by the
planet-update incremental update script."""
db = gisdb.get()
if db is None:
try:
db = gisdb.get()
if db is None:
return None
except:
return None
cursor = db.cursor()