Fix another bug which was raising UnicodeDecodeErrors due to no encoding found.

testing/mmn/mktime_takes_localtime_not_gmtime
Isis Lovecruft 2013-04-16 23:13:52 +00:00
parent 06662b98b0
commit 59b7e99465
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 1 additions and 1 deletions

View File

@ -628,7 +628,7 @@ class Crypt(Verify):
__bool__ = __nonzero__
def __str__(self):
return self.data.decode(self.gpg.encoding, self.gpg.decode_errors)
return self.data.decode(self.gpg.encoding, self.gpg._decode_errors)
def handle_status(self, key, value):
"""Parse a status code from the attached GnuPG process.