summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlorry4
1 files changed, 2 insertions, 2 deletions
diff --git a/lorry b/lorry
index 7505633..09f58cb 100755
--- a/lorry
+++ b/lorry
@@ -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