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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user