equal
deleted
inserted
replaced
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) |