[Pcsclite-cvs-commit] r6116 - /trunk/pcsc-tools/sort_smartcard_list.py

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Fri Nov 25 09:37:35 UTC 2011


Author: rousseau
Date: Fri Nov 25 09:37:35 2011
New Revision: 6116

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6116
Log:
Do not mix spaces and tabs

Modified:
    trunk/pcsc-tools/sort_smartcard_list.py

Modified: trunk/pcsc-tools/sort_smartcard_list.py
URL: http://svn.debian.org/wsvn/pcsclite/trunk/pcsc-tools/sort_smartcard_list.py?rev=6116&op=diff
==============================================================================
--- trunk/pcsc-tools/sort_smartcard_list.py (original)
+++ trunk/pcsc-tools/sort_smartcard_list.py Fri Nov 25 09:37:35 2011
@@ -9,9 +9,13 @@
     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())
+    if l == "\n":
+        continue
+
+    if l.startswith("#") or l.startswith("\t"):
+        continue
+
+    ATRs.append(l.strip())
 #	if l.startswith("\t"):
 #		ATRs.append([atr, l.strip()])
 #	else:
@@ -24,4 +28,4 @@
 #pp.pprint(sorted_ATRs)
 
 for l in difflib.context_diff(ATRs, sorted_ATRs):
-	print l
+    print l




More information about the Pcsclite-cvs-commit mailing list