Skip to content

Commit 5a4322a

Browse files
committed
Fix issue with running build scripts.
1 parent 08e0385 commit 5a4322a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/__np__/packaging.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ def getPackageUrl(section, name):
3535

3636

3737
def getPackageJson(section, name):
38+
if name is None:
39+
raise __np__.NoSuchURL("")
3840
package_dir_url = getPackageUrl(section, name)
3941
with __np__.TemporaryDirectory() as temp_dir:
4042
data_filename = __np__.download_file(

0 commit comments

Comments
 (0)