diff options
Diffstat (limited to 'lorry')
-rwxr-xr-x | lorry | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -118,7 +118,7 @@ class Lorry(cliapp.Application): self.progress('Getting: %s' % name) try: self.gitify(name, specs[name]) - except Exception as e: + except Exception: status += 1 sys.stderr.write( 'Error mirroring:\n%s' % traceback.format_exc()) @@ -505,7 +505,7 @@ class Lorry(cliapp.Application): urlfile = urllib.request.urlopen(spec['url']) archive_file.write(urlfile.read()) urlfile.close() - except Exception as e: + except Exception: if os.path.exists(archive_dest): os.unlink(archive_dest) raise |