def delete_orphans(): """ Deletes builds and packages associated to deleted coprs. """ BuildsLogic.delete_orphaned_builds() PackagesLogic.delete_orphaned_packages()
def run(self): BuildsLogic.delete_orphaned_builds() PackagesLogic.delete_orphaned_packages()