checks if package is finished and calls hookmanager
(self, pyfile)
| 523 | self.core.pullManager.addEvent(e) |
| 524 | |
| 525 | def checkPackageFinished(self, pyfile): |
| 526 | """ checks if package is finished and calls hookmanager """ |
| 527 | |
| 528 | ids = self.db.getUnfinished(pyfile.packageid) |
| 529 | if not ids or (pyfile.id in ids and len(ids) == 1): |
| 530 | if not pyfile.package().setFinished: |
| 531 | self.core.log.info(_("Package finished: %s") % pyfile.package().name) |
| 532 | self.core.hookManager.packageFinished(pyfile.package()) |
| 533 | pyfile.package().setFinished = True |
| 534 | |
| 535 | |
| 536 | def reCheckPackage(self, pid): |
no test coverage detected