Commit 7285bc91 authored by Marco Mariani's avatar Marco Mariani

handle url == ''

parent c2e4a10f
...@@ -85,7 +85,7 @@ class Recipe(GenericSlapRecipe, Notify, Callback): ...@@ -85,7 +85,7 @@ class Recipe(GenericSlapRecipe, Notify, Callback):
path_list = [] path_list = []
url = entry.get('url') url = entry.get('url')
if url is None: if not url:
raise ValueError('Missing URL parameter for PBS recipe') raise ValueError('Missing URL parameter for PBS recipe')
# We assume that thanks to sha512 there's no collisions # We assume that thanks to sha512 there's no collisions
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment