Commit 974d4be1 authored by Ludovic Rousseau's avatar Ludovic Rousseau

sort_smartcard_list.py: check the ATR is all upper case

If an ATR contains lower case letters then an error is reported.
parent 815d5315
......@@ -15,6 +15,10 @@ for l in file("smartcard_list.txt").readlines():
if l.startswith("#") or l.startswith("\t"):
continue
# check the ATR is all upper case
if l.upper() != l:
print "error:", l
ATRs.append(l.strip())
# if l.startswith("\t"):
# ATRs.append([atr, l.strip()])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment