Skip to content

Commit

Permalink
Fix for fedora-copr#2804 review
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Aug 8, 2023
1 parent ce61724 commit db6c730
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def pending_actions():
and action.action_type == ActionTypeEnum("delete")
):
busy_namespaces.add(action.copr.full_name)
elif action.copr.full_name in busy_namespaces:
elif action.copr and action.copr.full_name in busy_namespaces:
# e.g. copr delete _ && copr fork _; will cause race condition
# so don't process new action with the same namespace until delete
# action is processed
Expand Down

0 comments on commit db6c730

Please sign in to comment.