Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3946074
D1858.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
364 B
Referenced Files
None
Subscribers
None
D1858.diff
View Options
diff --git a/_modules/zr.py b/_modules/zr.py
--- a/_modules/zr.py
+++ b/_modules/zr.py
@@ -45,7 +45,7 @@
# Case II - expression is a pillar key
id = _get_credential_id_from_pillar_key(expression)
- if id is None:
+ if id is None or id == "":
raise ValueError(expression, "Pillar key not found")
return id
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 27, 12:20 (5 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2316900
Default Alt Text
D1858.diff (364 B)
Attached To
Mode
D1858: Ensure a valid id is provided to zr functions
Attached
Detach File
Event Timeline
Log In to Comment