aboutsummaryrefslogtreecommitdiffstats
path: root/utils.py
diff options
context:
space:
mode:
authorHenryk Plötz <henryk@ploetzli.ch>2010-10-15 18:24:34 +0200
committerHenryk Plötz <henryk@ploetzli.ch>2010-10-18 06:05:45 +0200
commite3433526753f07dd500352ded6e5bcbbb8c39e2e (patch)
treed76bd920f5bddf6925bac951a2270afd96046818 /utils.py
parent20b8d8167ee864c88287412da224d93c17381a08 (diff)
Rename parse_fancy_apdu to parse_fancy
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.py b/utils.py
index 00533dc..0352447 100644
--- a/utils.py
+++ b/utils.py
@@ -319,7 +319,7 @@ class C_APDU(Command_Frame,APDU):
_apduregex = re.compile(r'^\s*([0-9a-f]{2}\s*){4,}$', re.I)
_fancyapduregex = re.compile(r'^\s*([0-9a-f]{2}\s*){4,}\s*((xx|yy)\s*)?(([0-9a-f]{2}|:|\)|\(|\[|\])\s*)*$', re.I)
@staticmethod
- def parse_fancy_apdu(*args):
+ def parse_fancy(*args):
apdu_string = " ".join(args)
if not C_APDU._fancyapduregex.match(apdu_string):
raise ValueError