projects
/
pgp-mime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26983eb
)
signature: use proper tag in failed-integer-value-conversion error message.
author
W. Trevor King
<wking@tremily.us>
Sat, 6 Oct 2012 13:55:16 +0000
(09:55 -0400)
committer
W. Trevor King
<wking@tremily.us>
Sat, 6 Oct 2012 13:55:16 +0000
(09:55 -0400)
pgp_mime/signature.py
patch
|
blob
|
history
diff --git
a/pgp_mime/signature.py
b/pgp_mime/signature.py
index 23a0128071145d4198e27978c308b1d00c331dff..43a03b7129bf8386a63d29ffdf4b02050b733efb 100644
(file)
--- a/
pgp_mime/signature.py
+++ b/
pgp_mime/signature.py
@@
-374,7
+374,8
@@
def verify_result_signatures(result):
'hash-algo']:
value = child.get('value')
if not value.startswith('0x'):
- raise NotImplementedError('summary value {}'.format(value))
+ raise NotImplementedError('{} value {}'.format(
+ child.tag, value))
value = int(value, 16)
if attribute in ['wrong_key_usage', 'chain_model']:
value = bool(value) # boolean