Merge "Fix plan export"

This commit is contained in:
Jenkins 2017-06-19 21:22:36 +00:00 committed by Gerrit Code Review
commit e77368b235
2 changed files with 2 additions and 2 deletions

View File

@ -255,7 +255,7 @@ class ExportPlanAction(base.TripleOAction):
headers=headers)
def run(self, context):
swift = self.get_object_client()
swift = self.get_object_client(context)
tmp_dir = tempfile.mkdtemp()
try:

View File

@ -36,7 +36,7 @@ class SwiftInformationAction(base.TripleOAction):
data = None
error = None
try:
oc = self.get_object_client()
oc = self.get_object_client(context)
oc.head_container(self.container)
container_url = "{}/{}".format(oc.url, self.container)
auth_key = context.auth_token