Skip to content

Commit

Permalink
Don't check for version=None
Browse files Browse the repository at this point in the history
  • Loading branch information
race committed Dec 5, 2023
1 parent 50d05a2 commit 19d6e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion race_ext_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def install_packages(args: argparse.Namespace, packages: List[Union[str, Tuple[s
pkgs.append(package)
elif type(package) is tuple:
pkg_name = package[0]
pkg_ver = f"={package[1]}" if len(package) > 1 else ""
pkg_ver = f"={package[1]}" if len(package) > 1 and package[1] is not None else ""
pkg_arch = arch if len(package) > 2 and package[2] else ""
pkgs.append(f"{pkg_name}{pkg_arch}{pkg_ver}")

Expand Down

0 comments on commit 19d6e48

Please sign in to comment.