mercurial/commands.py
changeset 7874 d812029cda85
parent 7850 74c3baca65c9
child 7875 553aa0cbeab6
--- a/mercurial/commands.py	Mon Mar 23 13:12:07 2009 +0100
+++ b/mercurial/commands.py	Mon Mar 23 13:13:02 2009 +0100
@@ -894,7 +894,7 @@
     ui.status(_("Checking templates...\n"))
     try:
         import templater
-        t = templater.templater(templater.templatepath("map-cmdline.default"))
+        templater.templater(templater.templatepath("map-cmdline.default"))
     except Exception, inst:
         ui.write(" %s\n" % inst)
         ui.write(_(" (templates seem to have been installed incorrectly)\n"))
@@ -1690,8 +1690,8 @@
 
                 files = {}
                 try:
-                    fuzz = patch.patch(tmpname, ui, strip=strip, cwd=repo.root,
-                                       files=files)
+                    patch.patch(tmpname, ui, strip=strip, cwd=repo.root,
+                                files=files)
                 finally:
                     files = patch.updatedir(ui, repo, files, similarity=sim/100.)
                 if not opts.get('no_commit'):