Skip to content
Snippets Groups Projects
Commit 87df1067 authored by anonymous's avatar anonymous
Browse files

fix action

parent 4bf8b2ce
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,8 @@ log = logging.getLogger(__name__)
def odsh_package_create(context, data_dict):
munge_increment_name(data_dict)
if data_dict.get('type', None) != 'dataset':
return package_create(context, data_dict)
issued = False
for extra in data_dict.get('extras'):
if extra['key'] == 'issued':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment