Commit 4f386232 authored by Jürgen Haas's avatar Jürgen Haas
parent e8d25f55
......@@ -222,7 +222,7 @@ class ActionModule(ActionBase):
request_result = requests.put('' + path, params = {'token': self.api_token}, data = postData)
elif method == 'DELETE':
request_result = requests.delete('' + path, params = {'token': self.api_token})
except ae, e:
except ae as e:
raise ae('No result from ServerDensity API')
decoder = json.JSONDecoder()
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment