[Pcsclite-cvs-commit] r6087 - /website/matrix.py
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Fri Oct 28 09:45:02 UTC 2011
Author: rousseau
Date: Fri Oct 28 09:45:01 2011
New Revision: 6087
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6087
Log:
Add the number of slots in the Features field
Modified:
website/matrix.py
Modified: website/matrix.py
URL: http://svn.debian.org/wsvn/pcsclite/website/matrix.py?rev=6087&op=diff
==============================================================================
--- website/matrix.py (original)
+++ website/matrix.py Fri Oct 28 09:45:01 2011
@@ -144,6 +144,10 @@
readers[reader]['features'].append("PIN Modification")
if int(readers[reader]['dwFeatures'], 16) & 0x0800:
readers[reader]['features'].append("ICCD")
+ bMaxSlotIndex = int(readers[reader]['bMaxSlotIndex'], 16)
+ if bMaxSlotIndex > 0:
+ readers[reader]['features'].append("%d slots" % (1
+ + bMaxSlotIndex))
if 'interface' in readers[reader]:
second_interface = readers[reader]['interface']
More information about the Pcsclite-cvs-commit
mailing list