Permalink
Browse files

don't use tuple unpacking in sigdecode_strings, make life easier for …

…2to3
  • Loading branch information...
warner committed Nov 27, 2010
1 parent 675feb8 commit 6430bb74c849cdd07eae4284ac7f098c4a309d2e
Showing with 2 additions and 1 deletion.
  1. +2 −1 ecdsa/util.py
View
@@ -191,7 +191,8 @@ def sigdecode_string(signature, order):
s = string_to_number_fixedlen(signature[l:], order)
return r, s
-def sigdecode_strings((r_str, s_str), order):
+def sigdecode_strings(rs_strings, order):
+ (r_str, s_str) = rs_strings
l = orderlen(order)
assert len(r_str) == l, (len(r_str), l)
assert len(s_str) == l, (len(s_str), l)

0 comments on commit 6430bb7

Please sign in to comment.