changeset 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 bfb40168391c
children e9725e18bdf8
files hgext/shelve.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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