diff hgext/shelve.py @ 20937:c0bf8bea10dd stable

shelve: remove unused variable caught by pyflakes
author Sean Farley <sean.michael.farley@gmail.com>
date Thu, 03 Apr 2014 20:32:56 -0500
parents 578b888c820e
children 3737e653dcbe
line wrap: on
line diff
--- 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