Skip to content

Commit

Permalink
Merge pull request #73 from release-engineering/fix
Browse files Browse the repository at this point in the history
Fix awful condition
  • Loading branch information
JAVGan authored Nov 6, 2024
2 parents 2008bb2 + ce3bfca commit 26af934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pubtools/_marketplacesvm/tasks/push/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ async def push_function(mapped_item, marketplace, starmap_query) -> Dict[str, An
pi,
pre_push=False,
)
elif pi.state != State.UPLOADFAILED and not not self.args.pre_push:
elif pi.state != State.UPLOADFAILED and self.args.pre_push:
# Set the state as PUSHED when the operation is nochannel
pi = evolve(pi, state=State.PUSHED)

Expand Down

0 comments on commit 26af934

Please sign in to comment.