[Tile-serving] [osm2pgsql] Cleanup based on the output of LLVM's static analyzer (#299)

Paul Norman notifications at github.com
Sat Feb 21 16:16:55 UTC 2015


> @@ -336,7 +336,7 @@ def dbConnect(self):
>              self.conn=psycopg2.connect("dbname='osm2pgsql-test'")
>              self.conn.autocommit = True
>              self.cur = self.conn.cursor()
> -        except Exception, e:
> +        except Exception as e:

Fixes #300, but needs checking on Python 2

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/299/files#r25123182
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150221/37029855/attachment.html>


More information about the Tile-serving mailing list