hgext/shelve.py
changeset 22199 b3e51675f98e
parent 22184 fb8065de47b0
child 22202 684bad8c4265
--- a/hgext/shelve.py	Fri Aug 15 04:37:45 2014 +0200
+++ b/hgext/shelve.py	Fri Aug 15 16:20:47 2014 +0200
@@ -269,7 +269,7 @@
     wlock = None
     try:
         wlock = repo.wlock()
-        for (name, _) in repo.vfs.readdir('shelved'):
+        for (name, _type) in repo.vfs.readdir('shelved'):
             suffix = name.rsplit('.', 1)[-1]
             if suffix in ('hg', 'files', 'patch'):
                 shelvedfile(repo, name).unlink()
@@ -303,7 +303,7 @@
             raise
         return []
     info = []
-    for (name, _) in names:
+    for (name, _type) in names:
         pfx, sfx = name.rsplit('.', 1)
         if not pfx or sfx != 'patch':
             continue