diff mercurial/localrepo.py @ 14064:e4bfb9c337f3

remove unused imports and variables
author Alexander Solovyov <alexander@solovyov.net>
date Sat, 30 Apr 2011 13:59:14 +0200
parents bcfe78c3d15c
children 72c84f24b420
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sat Apr 30 07:30:38 2011 -0500
+++ b/mercurial/localrepo.py	Sat Apr 30 13:59:14 2011 +0200
@@ -190,7 +190,7 @@
         warned = [0]
         def validate(node):
             try:
-                r = self.changelog.rev(node)
+                self.changelog.rev(node)
                 return node
             except error.LookupError:
                 if not warned[0]: