patch: remove useless variable assignment
authorPatrick Mezard <patrick@mezard.eu>
Thu, 05 Apr 2012 19:23:04 +0200
changeset 16358 d23197e08d05
parent 16356 913be8c5139c
child 16360 e5788269741a
patch: remove useless variable assignment
mercurial/patch.py
--- a/mercurial/patch.py	Wed Apr 04 11:19:09 2012 +0200
+++ b/mercurial/patch.py	Thu Apr 05 19:23:04 2012 +0200
@@ -1286,7 +1286,6 @@
                 current_file = None
             afile, bfile, first_hunk, gp = values
             if gp:
-                path = pstrip(gp.path)
                 gp.path = pstrip(gp.path)
                 if gp.oldpath:
                     gp.oldpath = pstrip(gp.oldpath)