Mattia Rizzolo <mat...@debian.org> writes:

> I believe so, yes.

> Russ, could you please double check this (currently untested) patch
> solves the issue for you?

Apologies for the delay in testing this.  I had to have another good
reason to upload a package to my personal reprepro archive, which is what
triggers this bug for me.

You need one additional change, and then this appears to work:

diff --git a/dput/changes.py b/dput/changes.py
index e2b1491..1be0d05 100644
--- a/dput/changes.py
+++ b/dput/changes.py
@@ -253,13 +253,6 @@ class Changes(object):
             raise ChangesFileException(
                 "Unknown problem while verifying signature")
 
-        # contains verbose human readable GPG information
-        if self.is_python3:
-            gpg_output_stderr = str(gpg_output_stderr, encoding='utf8')
-
-        if self.is_python3:
-            gpg_output = gpg_output.decode(encoding='UTF-8')
-
         if gpg_output.count('[GNUPG:] GOODSIG'):
             pass
         elif gpg_output.count('[GNUPG:] BADSIG'):

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>

Reply via email to