running lib2to3.fixes.fix_except

This commit is contained in:
ilvalle committed 2016-05-29 08:31:19 +02:00
1 parent 14830e8906
commit 35900da19b
35 files changed
+93 -92

No files matched your search

+1 -1
View File
@@ -233,7 +233,7 @@ def test():
print 'Your credit card was declined by your bank'
elif payment.isError():
raise DowCommerce.DowCommerceError('An uncaught error occurred')
except DowCommerce.DowCommerceError, e:
except DowCommerce.DowCommerceError as e:
print "Exception thrown:", e
print 'An error occured'
print 'approved', payment.isApproved()