Commit 81425674 authored by Alex Pyrgiotis's avatar Alex Pyrgiotis
Browse files

astakos: Return tuple in silent mode

Fix `check_conflicting_projects` function in order to return a (result,
message) tuple in silent mode, which is expected by
`validate_project_action` function.
parent 53178526
......@@ -831,7 +831,7 @@ def check_conflicting_projects(project, new_project_name, silent=False):
(new_project_name, conflicting_project.uuid))
return fail(m)
except Project.DoesNotExist:
pass
return True, None
def approve_application(application_id, project_id=None, request_user=None,
......
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