← Back to team overview

duplicity-team team mailing list archive

[Merge] lp:~ed.so/duplicity/0.7-dpbx.importfix into lp:duplicity

 

edso has proposed merging lp:~ed.so/duplicity/0.7-dpbx.importfix into lp:duplicity.

Requested reviews:
  duplicity-team (duplicity-team)

For more details, see:
https://code.launchpad.net/~ed.so/duplicity/0.7-dpbx.importfix/+merge/238425

fix this showstopper with the dropbox backend
"
...
File "/usr/local/lib/python2.7/dist-packages/duplicity/backends/dpbxbackend.py", line 162, in login
    except rest.ErrorResponse, e:
NameError: global name 'rest' is not defined
"
-- 
https://code.launchpad.net/~ed.so/duplicity/0.7-dpbx.importfix/+merge/238425
Your team duplicity-team is requested to review the proposed merge of lp:~ed.so/duplicity/0.7-dpbx.importfix into lp:duplicity.
=== modified file 'duplicity/backends/dpbxbackend.py'
--- duplicity/backends/dpbxbackend.py	2014-05-10 10:49:20 +0000
+++ duplicity/backends/dpbxbackend.py	2014-10-15 12:15:46 +0000
@@ -99,6 +99,7 @@
     def __init__(self, parsed_url):
         duplicity.backend.Backend.__init__(self, parsed_url)
 
+        global client, rest, session
         from dropbox import client, rest, session
 
         class StoredSession(session.DropboxSession):


Follow ups