(self, owner)
| 132 | self._lastTotalReported = None |
| 133 | |
| 134 | def pulse(self, owner): |
| 135 | if self.current_items != self._lastCurrentReported or self.total_items != self._lastTotalReported: |
| 136 | self._progressCb("sources_update", float(self.current_items) / float(self.total_items)) |
| 137 | self._logger.info("Update progress item %d of %d" % (self.current_items, self.total_items)) |
| 138 | self._lastCurrentReported = self.current_items |
| 139 | self._lastTotalReported = self.total_items |
| 140 | |
| 141 | return True |
| 142 | |
| 143 | class SoftwareUpdater(threading.Thread): |
| 144 | updatePhaseProgressInfo = { |
nothing calls this directly
no test coverage detected