167 # disable updates of the list for speed |
167 # disable updates of the list for speed |
168 self.resultList.setUpdatesEnabled(False) |
168 self.resultList.setUpdatesEnabled(False) |
169 self.resultList.setSortingEnabled(False) |
169 self.resultList.setSortingEnabled(False) |
170 |
170 |
171 # now go through all the files |
171 # now go through all the files |
172 for func, (cc, nc, tt, ct, callers) in list(self.stats.items()): |
172 for func, (cc, nc, tt, ct, _callers) in list(self.stats.items()): |
173 if self.cancelled: |
173 if self.cancelled: |
174 return |
174 return |
175 |
175 |
176 if not (self.ericpath and |
176 if not (self.ericpath and |
177 func[0].startswith(self.ericpath)) and \ |
177 func[0].startswith(self.ericpath)) and \ |