Index: sitescripts/extensions/bin/createNightlies.py |
=================================================================== |
--- a/sitescripts/extensions/bin/createNightlies.py |
+++ b/sitescripts/extensions/bin/createNightlies.py |
@@ -425,7 +425,7 @@ |
try: |
self.feed(data) |
self.close() |
- except Exception, e: |
+ except Exception as e: |
if e != self.dummy_exception: |
raise |
@@ -627,7 +627,7 @@ |
build = NightlyBuild(repo) |
if build.hasChanges(): |
build.run() |
- except Exception, ex: |
+ except Exception as ex: |
logging.error('The build for %s failed:', repo) |
logging.exception(ex) |