~moritzm/duplicity/duplicity

Viewing all changes in revision 992.

  • Committer: Kenneth Loafman
  • Date: 2014-06-28 14:43:36 UTC
  • mfrom: (989.3.3 webdav-fixes)
  • Revision ID: kenneth@loafman.com-20140628144336-5eq3d2ey0yu7dc0g
* Merged in lp:~mterry/duplicity/webdav-fixes
  - This branch fixes two issues I saw when testing the webdav backend:
  - 1) Errors like the following: "Attempt 1 failed. BackendException: File
    /tmp/duplicity-LQ1a0i-tempdir/mktemp-u2aiyX-2 not found locally after get
    from backend".  These were caused by the _get() method not calling setdata()
    on the local path object, so the rest of the code thought it didn't exist.
  - 2) Some odd issues from stale responses/data. We have a couple places in
    webdavbackend.py where we close the connection before making a request
    because of this problem. But I've changed it to do it every time, more
    reliably, by putting a _close() call inside the request() method.
  - With this, the webdav backend seems fine to me.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: