changeset 14174:bab267e7fc1a

remove unused variables
author timeless <timeless@mozdev.org>
date Sun, 01 May 2011 17:20:40 +0200
parents 419539ea79cb
children b452abffcb15
files hgext/mq.py hgext/progress.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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):