← Back to team overview

duplicity-team team mailing list archive

[Merge] lp:~ed.so/duplicity/fix.dpbx into lp:duplicity

 

edso has proposed merging lp:~ed.so/duplicity/fix.dpbx into lp:duplicity.

Requested reviews:
  duplicity-team (duplicity-team)

For more details, see:
https://code.launchpad.net/~ed.so/duplicity/fix.dpbx/+merge/209501

fix dpbx backend
"NameError: global name 'rest' is not defined"
-- 
https://code.launchpad.net/~ed.so/duplicity/fix.dpbx/+merge/209501
Your team duplicity-team is requested to review the proposed merge of lp:~ed.so/duplicity/fix.dpbx into lp:duplicity.
=== modified file 'duplicity/backends/dpbxbackend.py'
--- duplicity/backends/dpbxbackend.py	2013-12-30 16:01:49 +0000
+++ duplicity/backends/dpbxbackend.py	2014-03-05 17:07:18 +0000
@@ -73,6 +73,7 @@
     """a decorator for handling authentication and exceptions"""
     def decorate(f):
         def wrapper(self, *args):
+            from dropbox import rest
             if login_required and not self.sess.is_linked():
               log.FatalError("dpbx Cannot login: check your credentials",log.ErrorCode.dpbx_nologin)
               return


Follow ups