Commit 2bdd59bc authored by Ludovic Rousseau's avatar Ludovic Rousseau Committed by rousseau

new files


git-svn-id: svn://anonscm.debian.org/svn/pcsclite/trunk/pcsc-tools@4193 0ce88b0d-b2fd-0310-8134-9614164e65ea
parent 4def32e4
#! /usr/bin/env python
import difflib
import pprint
pp = pprint.PrettyPrinter(indent=4)
ATRs = list()
for l in file("smartcard_list.txt").readlines():
if l == "\n" or l.startswith("#") or l.startswith("\t"):
continue
ATRs.append(l.strip())
# if l.startswith("\t"):
# ATRs.append([atr, l.strip()])
# else:
# atr = l.strip()
#pp.pprint(ATRs)
sorted_ATRs = list(ATRs)
sorted_ATRs.sort()
#pp.pprint(sorted_ATRs)
for l in difflib.context_diff(ATRs, sorted_ATRs):
print l
set -x
cp smartcard_list.txt ~/public_html.free/softwares/pcsc-tools/smartcard_list.txt
cp smartcard_list.txt ~/.smartcard_list.txt
sitecopy -u ftpperso
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