2015-03-21 10:58:46 |
Robin Nehls |
description |
I get a BackendException like this while downloading the signature file when trying to do an incremental backup over ssh.
BackendException: scp get duplicity-full-signatures.20150320T170744Z.sigtar.gpg failed: incorrect response 'C0600 534440306 duplicity-full-signatures.20150320T170744Z.sigtar.gpg'
The problem seems to be in duplicity/backends/ssh_paramiko_backend.py in line 302 and was introduced in rev 1070. Looks like a slip while fixing pep8. The second condition should be a check for equality not a check for identity.
So
if (m is None or m.group(3) i!= remote_filename):
instead of
if (m is None or m.group(3) is not remote_filename):
I'm using duplicity 0.7.02 and Python 2.7.9 on Arch Linux x64.
I hope this helps
So long |
I get a BackendException like this while downloading the signature file when trying to do an incremental backup over ssh.
BackendException: scp get duplicity-full-signatures.20150320T170744Z.sigtar.gpg failed: incorrect response 'C0600 534440306 duplicity-full-signatures.20150320T170744Z.sigtar.gpg'
The problem seems to be in duplicity/backends/ssh_paramiko_backend.py in line 302 and was introduced in rev 1070. Looks like a slip while fixing pep8. The second condition should be a check for equality not a check for identity.
So
if (m is None or m.group(3) != remote_filename):
instead of
if (m is None or m.group(3) is not remote_filename):
I'm using duplicity 0.7.02 and Python 2.7.9 on Arch Linux x64.
I hope this helps
So long |
|