comparison hgext/progress.py @ 16676:654b9e1966f7

progress: fix indentation
author Martin Geisler <mg@lazybytes.net>
date Fri, 11 May 2012 18:41:04 +0200
parents 83a140752239
children 38caf405d010
comparison
equal deleted inserted replaced
16675:f29f187ee73d 16676:654b9e1966f7
235 self.complete() 235 self.complete()
236 self.resetstate() 236 self.resetstate()
237 # truncate the list of topics assuming all topics within 237 # truncate the list of topics assuming all topics within
238 # this one are also closed 238 # this one are also closed
239 if topic in self.topics: 239 if topic in self.topics:
240 self.topics = self.topics[:self.topics.index(topic)] 240 self.topics = self.topics[:self.topics.index(topic)]
241 else: 241 else:
242 if topic not in self.topics: 242 if topic not in self.topics:
243 self.starttimes[topic] = now 243 self.starttimes[topic] = now
244 self.startvals[topic] = pos 244 self.startvals[topic] = pos
245 self.topics.append(topic) 245 self.topics.append(topic)