Skip to content
Snippets Groups Projects
Commit 4f386232 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#85 Linting

parent e8d25f55
No related branches found
No related tags found
No related merge requests found
......@@ -222,7 +222,7 @@ class ActionModule(ActionBase):
request_result = requests.put('https://api.serverdensity.io/' + path, params = {'token': self.api_token}, data = postData)
elif method == 'DELETE':
request_result = requests.delete('https://api.serverdensity.io/' + path, params = {'token': self.api_token})
except ae, e:
except ae as e:
raise ae('No result from ServerDensity API')
decoder = json.JSONDecoder()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment