[Pcsclite-cvs-commit] r4422 - /website/short_apdu_readers.py

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sun Oct 4 08:16:59 UTC 2009


Author: rousseau
Date: Sun Oct  4 08:16:58 2009
New Revision: 4422

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4422
Log:
add comments to methods

Modified:
    website/short_apdu_readers.py

Modified: website/short_apdu_readers.py
URL: http://svn.debian.org/wsvn/pcsclite/website/short_apdu_readers.py?rev=4422&op=diff
==============================================================================
--- website/short_apdu_readers.py (original)
+++ website/short_apdu_readers.py Sun Oct  4 08:16:58 2009
@@ -33,6 +33,7 @@
 CCID_CLASS_EXCHANGE_MASK	= 0x00070000
 
 def get_extended_apdu_readers(readers):
+    """ return the list of readers supporting extended APDU """
     l = []
     for r in readers.keys():
         dwFeatures = int(readers[r]['dwFeatures'],16)
@@ -46,6 +47,7 @@
     return l
 
 def get_short_apdu_readers(readers):
+    """ return the list of readers NOT supporting extended APDU """
     l = []
     for r in readers.keys():
         dwFeatures = int(readers[r]['dwFeatures'],16)
@@ -56,6 +58,7 @@
     return l
 
 def get_all_readers():
+    """ returns the list of all readers """
     path = "../trunk/Drivers/ccid/readers/"
 
     supported_readers = parse_ini(path, "supported")




More information about the Pcsclite-cvs-commit mailing list