Skip to content

Commit 6c16025

Browse files
committed
WIP
1 parent ed088ee commit 6c16025

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/coprs_frontend/coprs/logic/builds_logic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,9 +1458,9 @@ def processing_builds(cls):
14581458
builds that have non-finished source status, or any non-finished
14591459
existing build chroot.
14601460
"""
1461-
build_ids_with_bch = db.session.query(BuildChroot.build_id).filter(
1461+
build_ids_with_bch = [x[0] for x in db.session.query(BuildChroot.build_id).filter(
14621462
BuildChroot.status.in_(PROCESSING_STATES),
1463-
)
1463+
).all()]
14641464
# skip waiting state, we need to fix issue #1539
14651465
source_states = set(PROCESSING_STATES)-{StatusEnum("waiting")}
14661466
return models.Build.query.filter(and_(

0 commit comments

Comments
 (0)