Commit 0e917347 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

astakos: Allow submitting application with no resources

parent 664cb001
......@@ -666,7 +666,8 @@ def submit_application(owner=None,
app.save()
application.save()
application.set_resource_policies(resource_policies)
if resource_policies is not None:
application.set_resource_policies(resource_policies)
logger.info("User %s submitted %s." %
(request_user.log_display, application.log_display))
application_submit_notify(application)
......
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