[Pcsclite-cvs-commit] r3410 - /website/matrix.py
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Mon Apr 6 09:10:18 UTC 2009
Author: rousseau
Date: Mon Apr 6 09:10:17 2009
New Revision: 3410
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=3410
Log:
add PIN Verification/Modification in the Features
Modified:
website/matrix.py
Modified: website/matrix.py
URL: http://svn.debian.org/wsvn/pcsclite/website/matrix.py?rev=3410&op=diff
==============================================================================
--- website/matrix.py (original)
+++ website/matrix.py Mon Apr 6 09:10:17 2009
@@ -73,6 +73,21 @@
for o in config.options(r):
readers[r][o] = config.get(r, o)
+ bPINSupport = int(readers[r]['bPINSupport'], 16)
+ if bPINSupport & 1:
+ if 'features' in readers[r]:
+ readers[r]['features'] += ", "
+ else:
+ readers[r]['features'] = ""
+ readers[r]['features'] += "PIN Verification"
+ if bPINSupport & 2:
+ if 'features' in readers[r]:
+ readers[r]['features'] += ", "
+ else:
+ readers[r]['features'] = ""
+ readers[r]['features'] += "PIN Modification"
+
+ #pp.pprint(readers["GemPCPinpad.txt"])
return readers
def check_list(path, reader_list):
More information about the Pcsclite-cvs-commit
mailing list