shelve: remove unused variable caught by pyflakes stable
authorSean Farley <sean.michael.farley@gmail.com>
Thu, 03 Apr 2014 20:32:56 -0500
branchstable
changeset 20937 c0bf8bea10dd
parent 20936 bfb40168391c
child 20938 e9725e18bdf8
shelve: remove unused variable caught by pyflakes
hgext/shelve.py
--- a/hgext/shelve.py	Thu Apr 03 20:29:03 2014 -0500
+++ b/hgext/shelve.py	Thu Apr 03 20:32:56 2014 -0500
@@ -150,7 +150,7 @@
     label = repo._bookmarkcurrent or parent.branch() or 'default'
 
     # slashes aren't allowed in filenames, therefore we rename it
-    origlabel, label = label, label.replace('/', '_')
+    label = label.replace('/', '_')
 
     def gennames():
         yield label