Index: sitescripts/reports/web/submitReport.py |
=================================================================== |
--- a/sitescripts/reports/web/submitReport.py |
+++ b/sitescripts/reports/web/submitReport.py |
@@ -62,7 +62,7 @@ |
knownIssues = knownIssuesParser.findMatches(data.splitlines(), params.get('lang', ['en-US'])[0]) |
os.rename(path + '.tmp', path) |
- except Exception, e: |
+ except Exception as e: |
if os.path.isfile(path + '.tmp'): |
os.remove(path + '.tmp') |
raise e |