← Back to team overview

duplicity-team team mailing list archive

[Merge] lp:~feraudet/duplicity/fix into lp:duplicity

 

Kenneth Loafman has proposed merging lp:~feraudet/duplicity/fix into lp:duplicity.

Requested reviews:
  duplicity-team (duplicity-team)

For more details, see:
https://code.launchpad.net/~feraudet/duplicity/fix/+merge/278587

Fix missing SWIFT_ENDPOINT_TYPE env var, bug 1519694.

-- 
Your team duplicity-team is requested to review the proposed merge of lp:~feraudet/duplicity/fix into lp:duplicity.
=== modified file 'duplicity/backends/swiftbackend.py'
--- duplicity/backends/swiftbackend.py	2015-08-01 01:05:40 +0000
+++ duplicity/backends/swiftbackend.py	2015-11-25 13:39:50 +0000
@@ -78,6 +78,8 @@
                     os_options.update({'project_domain_id': os.environ['SWIFT_PROJECT_DOMAIN_ID']})
                 if 'SWIFT_TENANTNAME' in os.environ:
                     os_options.update({'tenant_name': os.environ['SWIFT_TENANTNAME']})
+                if 'SWIFT_ENDPOINT_TYPE' in os.environ:
+                    os_options.update({'endpoint_type': os.environ['SWIFT_ENDPOINT_TYPE']})
 
         else:
             conn_kwargs['auth_version'] = '1'


Follow ups