hgext/purge.py
changeset 7280 810ca383da9c
parent 6762 f67d1468ac50
child 7570 e05aa73ce2b7
--- a/hgext/purge.py	Tue Oct 28 19:07:14 2008 +0100
+++ b/hgext/purge.py	Tue Oct 28 19:25:26 2008 +0100
@@ -65,7 +65,7 @@
         if act:
             try:
                 remove_func(os.path.join(repo.root, name))
-            except OSError, e:
+            except OSError:
                 m = _('%s cannot be removed') % name
                 if opts['abort_on_err']:
                     raise util.Abort(m)