]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/tools/exec_utils.py
provide wrapper function for DROP TABLE
[nominatim.git] / nominatim / tools / exec_utils.py
index f91c56542759895b6d52d0a7a2f8ee6a2ceccd48..72d252b7a83abdeb434912729bd595cfb10b3f7a 100644 (file)
@@ -141,6 +141,6 @@ def get_url(url):
     try:
         with urlrequest.urlopen(urlrequest.Request(url, headers=headers)) as response:
             return response.read().decode('utf-8')
-    except:
+    except Exception:
         LOG.fatal('Failed to load URL: %s', url)
         raise