Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Dec 4, 2024
1 parent 526473b commit dd6c795
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions frontend/coprs_frontend/coprs/logic/builds_logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1458,9 +1458,10 @@ def processing_builds(cls):
builds that have non-finished source status, or any non-finished
existing build chroot.
"""
build_ids_with_bch = db.session.query(BuildChroot.build_id).filter(
BuildChroot.status.in_(PROCESSING_STATES),
)
build_ids_with_bch = [x[0] for x in db.session.query(BuildChroot.build_id).filter(
BuildChroot.status.in_(PROCESSING_STATES)
).all()]
build_ids_with_bch = []
# skip waiting state, we need to fix issue #1539
source_states = set(PROCESSING_STATES)-{StatusEnum("waiting")}
return models.Build.query.filter(and_(
Expand Down

0 comments on commit dd6c795

Please sign in to comment.