Commit 67931288 authored by Ludovic Rousseau's avatar Ludovic Rousseau Committed by rousseau

Do not mix spaces and tabs

git-svn-id: svn:// 0ce88b0d-b2fd-0310-8134-9614164e65ea
parent 4cd573a7
...@@ -9,8 +9,12 @@ for l in file("smartcard_list.txt").readlines(): ...@@ -9,8 +9,12 @@ for l in file("smartcard_list.txt").readlines():
if l.endswith(" \n") or l.endswith("\t\n"): if l.endswith(" \n") or l.endswith("\t\n"):
print "Trailing space in:", l print "Trailing space in:", l
if l == "\n" or l.startswith("#") or l.startswith("\t"): if l == "\n":
continue continue
if l.startswith("#") or l.startswith("\t"):
ATRs.append(l.strip()) ATRs.append(l.strip())
# if l.startswith("\t"): # if l.startswith("\t"):
# ATRs.append([atr, l.strip()]) # 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