We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed088ee commit 6c16025Copy full SHA for 6c16025
frontend/coprs_frontend/coprs/logic/builds_logic.py
@@ -1458,9 +1458,9 @@ def processing_builds(cls):
1458
builds that have non-finished source status, or any non-finished
1459
existing build chroot.
1460
"""
1461
- build_ids_with_bch = db.session.query(BuildChroot.build_id).filter(
+ build_ids_with_bch = [x[0] for x in db.session.query(BuildChroot.build_id).filter(
1462
BuildChroot.status.in_(PROCESSING_STATES),
1463
- )
+ ).all()]
1464
# skip waiting state, we need to fix issue #1539
1465
source_states = set(PROCESSING_STATES)-{StatusEnum("waiting")}
1466
return models.Build.query.filter(and_(
0 commit comments