Merge "Use Python 3.x compatible except construct"

This commit is contained in:
Jenkins
2013-06-14 01:35:31 +00:00
committed by Gerrit Code Review

View File

@@ -335,7 +335,7 @@ def main():
try:
CeilometerShell().main(sys.argv[1:])
except Exception, e:
except Exception as e:
print >> sys.stderr, e
sys.exit(1)