Report item stats when removing a change

If a change is removed outside of the main process method (eg
it is superceded), stats were not reported.  Report them in that
case.

Change-Id: I9e753599dc3ecdf0d4bffc04f4515c04d882c8be
This commit is contained in:
James E. Blair 2013-08-26 18:12:31 -07:00
parent 6767905a47
commit 9423556423
1 changed files with 1 additions and 0 deletions

View File

@ -845,6 +845,7 @@ class BasePipelineManager(object):
"because it is being removed." % item.change) "because it is being removed." % item.change)
self.cancelJobs(item) self.cancelJobs(item)
self.dequeueItem(item, keep_severed_heads=False) self.dequeueItem(item, keep_severed_heads=False)
self.reportStats(item)
def prepareRef(self, item): def prepareRef(self, item):
# Returns False on success. # Returns False on success.