Merge "Fix plan export"
This commit is contained in:
commit
e77368b235
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue