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

Do not mix spaces and tabs


git-svn-id: svn://anonscm.debian.org/svn/pcsclite/trunk/pcsc-tools@6116 0ce88b0d-b2fd-0310-8134-9614164e65ea
parent 4cd573a7
...@@ -9,9 +9,13 @@ for l in file("smartcard_list.txt").readlines(): ...@@ -9,9 +9,13 @@ 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
ATRs.append(l.strip())
if l.startswith("#") or l.startswith("\t"):
continue
ATRs.append(l.strip())
# if l.startswith("\t"): # if l.startswith("\t"):
# ATRs.append([atr, l.strip()]) # ATRs.append([atr, l.strip()])
# else: # else:
...@@ -24,4 +28,4 @@ sorted_ATRs.sort() ...@@ -24,4 +28,4 @@ sorted_ATRs.sort()
#pp.pprint(sorted_ATRs) #pp.pprint(sorted_ATRs)
for l in difflib.context_diff(ATRs, sorted_ATRs): for l in difflib.context_diff(ATRs, sorted_ATRs):
print l print l
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