Commit e92823f5 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

pep8 fixes

parent 0943cc19
......@@ -909,8 +909,8 @@ class AstakosClient(object):
path = join_urls(path, "action")
req_headers = {'content-type': 'application/json'}
req_body = parse_request({action: {
"reasons": reason,
"app_id": app_id}}, self.logger)
"reasons": reason,
"app_id": app_id}}, self.logger)
return self._call_astakos(path, headers=req_headers,
body=req_body, method="POST")
......
......@@ -27,8 +27,9 @@ QuotaDict = lambda: defaultdict(lambda: defaultdict(dict))
PROJECT_TAG = "project:"
USER_TAG = "user:"
def project_ref(value):
return PROJECT_TAG + value
return PROJECT_TAG + value
def get_project_ref(project):
......
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