← Back to team overview

duplicity-team team mailing list archive

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

 

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

Requested reviews:
  duplicity-team (duplicity-team)

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

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.6-dpbx.importfix/+merge/238424
Your team duplicity-team is requested to review the proposed merge of lp:~ed.so/duplicity/0.6-dpbx.importfix into lp:duplicity/0.6-series.
=== modified file 'duplicity/backends/dpbxbackend.py'
--- duplicity/backends/dpbxbackend.py	2014-10-12 17:01:15 +0000
+++ duplicity/backends/dpbxbackend.py	2014-10-15 12:14:26 +0000
@@ -101,6 +101,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