PEP8 Fixes
Change-Id: Ibf5316e96b88088ecbc56fe1f6fa7541bc967d5f
This commit is contained in:
parent
244bca1835
commit
0336271126
@ -358,6 +358,7 @@ def post_account(url, token, headers, http_conn=None):
|
|||||||
http_reason=resp.reason,
|
http_reason=resp.reason,
|
||||||
http_response_content=body)
|
http_response_content=body)
|
||||||
|
|
||||||
|
|
||||||
def get_container(url, token, container, marker=None, limit=None,
|
def get_container(url, token, container, marker=None, limit=None,
|
||||||
prefix=None, delimiter=None, http_conn=None,
|
prefix=None, delimiter=None, http_conn=None,
|
||||||
full_listing=False):
|
full_listing=False):
|
||||||
|
@ -274,7 +274,7 @@ class DatabaseBroker(object):
|
|||||||
elif 'file is encrypted or is not a database' in str(exc_value):
|
elif 'file is encrypted or is not a database' in str(exc_value):
|
||||||
exc_hint = 'corrupted'
|
exc_hint = 'corrupted'
|
||||||
else:
|
else:
|
||||||
raise exc_type, exc_value, exc_traceback
|
raise exc_type(*exc_value.args), None, exc_traceback
|
||||||
prefix_path = os.path.dirname(self.db_dir)
|
prefix_path = os.path.dirname(self.db_dir)
|
||||||
partition_path = os.path.dirname(prefix_path)
|
partition_path = os.path.dirname(prefix_path)
|
||||||
dbs_path = os.path.dirname(partition_path)
|
dbs_path = os.path.dirname(partition_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user