8000 fix: Handle the empty `whl_map` correctly · kshramt/rules_python@8230605 · GitHub
[go: up one dir, main page]

Skip to content < 8000 /span>

Commit 8230605

Browse files
author
kshramt
committed
fix: Handle the empty whl_map correctly
1 parent b99027f commit 8230605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/private/render_pkg_aliases.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def render_pkg_aliases(*, repo_name, bzl_packages = None, whl_map = None, rules_
168168
Returns:
169169
A dict of file paths and their contents.
170170
"""
171-
if not bzl_packages and whl_map:
171+
if bzl_packages == None:
172172
bzl_packages = list(whl_map.keys())
173173

174174
contents = {}

0 commit comments

Comments
 (0)
0