Yann Leboulanger pushed to branch master at gajim / gajim
Commits: d9efb31b by Yann Leboulanger at 2016-12-17T13:32:35+01:00 don't crash when gnupg doesn't have a status attribute. - - - - - 1 changed file: - src/common/gpg.py Changes: ===================================== src/common/gpg.py ===================================== --- a/src/common/gpg.py +++ b/src/common/gpg.py @@ -89,7 +89,7 @@ if HAVE_GPG: if result.fingerprint: return self._stripHeaderFooter(str(result)) - if result.status == 'key expired': + if hasattr(result, 'status') and result.status == 'key expired': return 'KEYEXPIRED' return 'BAD_PASSPHRASE' View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/d9efb31b2ec7b821a8636925b20db772558f1b3a
_______________________________________________ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits