remove unused variables
authortimeless <timeless@mozdev.org>
Sun, 01 May 2011 17:20:40 +0200
changeset 14174 bab267e7fc1a
parent 14173 419539ea79cb
child 14175 b452abffcb15
remove unused variables
hgext/mq.py
hgext/progress.py
--- a/hgext/mq.py	Sun May 01 18:56:27 2011 +0200
+++ b/hgext/mq.py	Sun May 01 17:20:40 2011 +0200
@@ -2987,7 +2987,7 @@
             mqtags = [(patch.node, patch.name) for patch in q.applied]
 
             try:
-                r = self.changelog.rev(mqtags[-1][0])
+                self.changelog.rev(mqtags[-1][0])
             except error.RepoLookupError:
                 self.ui.warn(_('mq status file refers to unknown node %s\n')
                              % short(mqtags[-1][0]))
--- a/hgext/progress.py	Sun May 01 18:56:27 2011 +0200
+++ b/hgext/progress.py	Sun May 01 17:20:40 2011 +0200
@@ -238,7 +238,7 @@
             self.topicstates[topic] = pos, item, unit, total
             if now - self.lastprint >= self.refresh and self.topics:
                 self.lastprint = now
-                current = self.topics[-1]
+                self.topics[-1]
                 self.show(now, topic, *self.topicstates[topic])
 
 def uisetup(ui):