Use Python 3.x compatible syntax constructs

Avoid print operator, deprected except and
other things covered by statical checks.

Change-Id: I89f9608b977b2d4567300ec82558284dac347c9a
This commit is contained in:
Dirk Mueller
2013-06-23 20:21:32 +02:00
parent 70a82b823c
commit 1db5db2dc5
9 changed files with 28 additions and 28 deletions

View File

@@ -128,7 +128,7 @@ class ComputeWhiteboxTest(test.ComputeFuzzClientTest, WhiteboxTest):
meta = MetaData()
meta.reflect(bind=engine)
except Exception, e:
except Exception as e:
raise exceptions.SQLException(message=e)
return connection, meta