(self)
| 1226 | self.timestamp = time.time() |
| 1227 | self.counter = {} |
| 1228 | def next (self): |
| 1229 | if self.total: |
| 1230 | self.count += 1 |
| 1231 | pc = self.count * 100 / self.total |
| 1232 | if pc != self.percent: |
| 1233 | self.percent = pc |
| 1234 | print('progress: %d%%'%pc) |
| 1235 | def inc (self, name): |
| 1236 | if name not in self.counter: |
| 1237 | self.counter[name] = 1 |
no outgoing calls
no test coverage detected