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

new files

git-svn-id: svn:// 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"):
# if l.startswith("\t"):
# ATRs.append([atr, l.strip()])
# else:
# atr = l.strip()
sorted_ATRs = list(ATRs)
for l in difflib.context_diff(ATRs, sorted_ATRs):
print l
set -x
cp 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