patch: remove unused variable to make pyflakes test happy
authorSune Foldager <cryo@cyanite.org>
Wed, 18 May 2011 09:05:18 +0200
changeset 14352 077cdf172580
parent 14351 d54f9bbcc640
child 14357 cb4ff8ef466b
patch: remove unused variable to make pyflakes test happy
mercurial/patch.py
--- a/mercurial/patch.py	Tue May 17 23:46:38 2011 +0200
+++ b/mercurial/patch.py	Wed May 18 09:05:18 2011 +0200
@@ -1165,7 +1165,6 @@
     rejects = 0
     err = 0
     current_file = None
-    cwd = os.getcwd()
     backend = fsbackend(ui, os.getcwd())
 
     for state, values in iterhunks(fp):