fix GPG encoding issues. Fixes #7988
This commit is contained in:
parent
9938da103c
commit
a17ff4b45e
|
@ -31,6 +31,7 @@ if HAVE_GPG:
|
||||||
class GnuPG(gnupg.GPG):
|
class GnuPG(gnupg.GPG):
|
||||||
def __init__(self, use_agent=False):
|
def __init__(self, use_agent=False):
|
||||||
gnupg.GPG.__init__(self)
|
gnupg.GPG.__init__(self)
|
||||||
|
self.encoding = 'utf-8'
|
||||||
self.decode_errors = 'replace'
|
self.decode_errors = 'replace'
|
||||||
self.passphrase = None
|
self.passphrase = None
|
||||||
self.use_agent = use_agent
|
self.use_agent = use_agent
|
||||||
|
|
Loading…
Reference in New Issue