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

Check for trailing spaces and tabs


git-svn-id: svn://anonscm.debian.org/svn/pcsclite/trunk/pcsc-tools@5411 0ce88b0d-b2fd-0310-8134-9614164e65ea
parent 9672580f
......@@ -6,6 +6,9 @@ pp = pprint.PrettyPrinter(indent=4)
ATRs = list()
for l in file("smartcard_list.txt").readlines():
if l.endswith(" \n") or l.endswith("\t\n"):
print "Trailing space in:", l
if l == "\n" or l.startswith("#") or l.startswith("\t"):
continue
ATRs.append(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