Fix condition in apply_all_updates

This commit is contained in:
rubenwardy 2021-01-30 22:59:55 +00:00
parent db09b8eb84
commit ede010c25d

@ -197,7 +197,7 @@ def apply_all_updates(username):
continue continue
if package.releases.filter(or_(PackageRelease.task_id.isnot(None), if package.releases.filter(or_(PackageRelease.task_id.isnot(None),
PackageRelease.commit_hash==package.update_config.last_commit)).count(): PackageRelease.commit_hash==package.update_config.last_commit)).count() > 0:
continue continue
title = package.update_config.get_title() title = package.update_config.get_title()