[Tile-serving] [osm2pgsql] Cleanup based on the output of LLVM's static analyzer (#299)
Sarah Hoffmann
notifications at github.com
Sat Feb 21 17:27:08 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:
Works fine in python 2.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/299/files#r25123766
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150221/fd21cedd/attachment.html>
More information about the Tile-serving
mailing list