 Issue 29350318:
  Issue 4382 - Use new syntax to catch exceptions in sitescripts  (Closed)
    
  
    Issue 29350318:
  Issue 4382 - Use new syntax to catch exceptions in sitescripts  (Closed) 
  | 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 |