comparison hgext/progress.py @ 14247:c9720ada999c

progress: remove useless statement left by bab267e7fc1a
author Patrick Mezard <pmezard@gmail.com>
date Sat, 07 May 2011 17:25:12 +0200
parents bab267e7fc1a
children 98e4d3914c2e
comparison
equal deleted inserted replaced
14246:f1f4abdd5074 14247:c9720ada999c
236 self.startvals[topic] = pos 236 self.startvals[topic] = pos
237 self.topics.append(topic) 237 self.topics.append(topic)
238 self.topicstates[topic] = pos, item, unit, total 238 self.topicstates[topic] = pos, item, unit, total
239 if now - self.lastprint >= self.refresh and self.topics: 239 if now - self.lastprint >= self.refresh and self.topics:
240 self.lastprint = now 240 self.lastprint = now
241 self.topics[-1]
242 self.show(now, topic, *self.topicstates[topic]) 241 self.show(now, topic, *self.topicstates[topic])
243 242
244 def uisetup(ui): 243 def uisetup(ui):
245 class progressui(ui.__class__): 244 class progressui(ui.__class__):
246 _progbar = None 245 _progbar = None