[0.7.15] GPGError handling in collections.py

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[0.7.15] GPGError handling in collections.py

duplicity-talk mailing list
Hello,

In version 0.7.15, collections.py, BackupSet.get_remote_manifest():

         except GPGError as message:
            log.Error(_("Error processing remote manifest (%s): %s") %
                      (util.ufn(self.remote_manifest_name), util.ufn(message)))
            return None

But message is a GPGError exception, not a filename expected by
util.ufn() which fails at filename.decode()

--
  Richard

_______________________________________________
Duplicity-talk mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
Reply | Threaded
Open this post in threaded view
|

Re: [0.7.15] GPGError handling in collections.py

duplicity-talk mailing list
See https://bugs.launchpad.net/bugs/1733057.  Patch attached to bug report.

...Thanks,
...Ken


On Sat, Nov 18, 2017 at 4:33 AM, Richard McGraw via Duplicity-talk <[hidden email]> wrote:
Hello,

In version 0.7.15, collections.py, BackupSet.get_remote_manifest():

         except GPGError as message:
            log.Error(_("Error processing remote manifest (%s): %s") %
                      (util.ufn(self.remote_manifest_name), util.ufn(message)))
            return None

But message is a GPGError exception, not a filename expected by
util.ufn() which fails at filename.decode()

--
  Richard

_______________________________________________
Duplicity-talk mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk


_______________________________________________
Duplicity-talk mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
Reply | Threaded
Open this post in threaded view
|

Re: [0.7.15] GPGError handling in collections.py

duplicity-talk mailing list
On Sat, 18 Nov 2017 11:23:43 -0600
Kenneth Loafman <[hidden email]> wrote:

> See https://bugs.launchpad.net/bugs/1733057.  Patch attached to bug
> report.
>
> ...Thanks,
> ...Ken

Patched ! Thanks.

_______________________________________________
Duplicity-talk mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk