Skip to content

Commit 5cc6c2c

Browse files
committed
Better error
1 parent 0fbe57d commit 5cc6c2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/conda/find-pkg.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ def fail(msg):
2727

2828
P = J["packages"]
2929
if len(P) != 1:
30-
fail("find-pkg.py: package count not 1!")
30+
print("find-pkg.py: found packages: " + str(P))
31+
fail("package count is %i not 1!" % len(P))
3132

3233
pkg = list(P.keys())[0]
3334
print(pkg)

0 commit comments

Comments
 (0)