Skip to content

Commit

Permalink
Avoid odd use of any() where or does the trick
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Jan 17, 2024
1 parent d968173 commit fab4102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setupsrc/pypdfium2_setup/craft_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def parse_args():
args = root_parser.parse_args()

if args.parser == P_PYPI:
if not any([args.wheels, args.sdist]):
if not (args.wheels or args.sdist):
args.wheels, args.sdist = True, True

args.is_literal_latest = args.pdfium_ver == "latest"
Expand Down

0 comments on commit fab4102

Please sign in to comment.