Add more recognized keys to ListPackets status handling method.

testing/mmn/mktime_takes_localtime_not_gmtime
drebs 2013-07-04 20:13:52 -03:00 committed by Isis Lovecruft
parent ef022f977f
commit 632cb5d833
1 changed files with 3 additions and 0 deletions

View File

@ -1348,5 +1348,8 @@ class ListPackets(object):
self.need_passphrase_sym = True
elif key == 'USERID_HINT':
self.userid_hint = value.strip().split()
elif key in ('NO_SECKEY', 'BEGIN_DECRYPTION', 'DECRYPTION_FAILED',
'END_DECRYPTION'):
pass
else:
raise ValueError("Unknown status message: %r" % key)