diff hgext/purge.py @ 7280:810ca383da9c

remove unused variables
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 28 Oct 2008 19:25:26 +0100
parents f67d1468ac50
children e05aa73ce2b7
line wrap: on
line diff
--- 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)