PEP 3110 compat

This commit is contained in:
Jacob Magnusson 2013-05-20 11:22:59 +02:00 committed by Matthew Tretter
parent 6582794408
commit 654867c3cf

View file

@ -27,7 +27,7 @@ well as "a:b" and "a:b:c".""")
try:
# TODO: Allow other validation actions through command option
file.generate()
except Exception, err:
except Exception as err:
# TODO: How should we handle failures? Don't want to error, but should call it out more than this.
self.stdout.write(' FAILED: %s\n' % err)