Commit 2f1c70a2 authored by Matthieu Lamalle's avatar Matthieu Lamalle
Browse files

remove spaces

parent da12e630
......@@ -108,15 +108,9 @@ class ServerRunner(ZephirCommonController):
if return_code:
defaultserverselection = self.serverselection.default_user_serverselection(cursor, _session_user['username'] )
self.serverselection.add_server_to_selection(cursor, result['serverid'], defaultserverselection['serverselectionid'])
return result
else:
raise ServerError('put passphrase return code status not available')
raise ServerError('put passphrase return code status not available')
except ServerErrorDatabaseNotAvailable as err:
......@@ -266,7 +260,6 @@ class ServerRunner(ZephirCommonController):
if automation == 'salt':
results = await self.call('v1.execution.salt.job.describe',
jid=str(job_id))
else:
raise Exception(_('Automation engine not supported: {}').format(automation))
ret = []
......
Supports Markdown
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