[Pcsclite-cvs-commit] r5721 - /website/short_apdu_readers.py
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Mon May 9 08:37:12 UTC 2011
Author: rousseau
Date: Mon May 9 08:37:06 2011
New Revision: 5721
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5721
Log:
Add missing doctrings
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=5721&op=diff
==============================================================================
--- website/short_apdu_readers.py (original)
+++ website/short_apdu_readers.py Mon May 9 08:37:06 2011
@@ -1,5 +1,6 @@
#!/usr/bin/env python
+"""
# short_apdu_readers.py get a list of short APDU readers
# Copyright (C) 2009 Ludovic Rousseau
#
@@ -16,6 +17,7 @@
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+"""
# $Id$
@@ -66,6 +68,7 @@
def apdu_no_ifsd(readers):
+ """ return the list of Short APDU readers doing auto IFSD """
for r in readers.keys():
dwFeatures = int(readers[r]['dwFeatures'], 16)
# Short APDU level exchange with CCID
@@ -78,6 +81,7 @@
def extended_apdu(readers):
+ """ return the list of APDU readers supporting extended APDU """
for r in readers.keys():
dwFeatures = int(readers[r]['dwFeatures'], 16)
# Short APDU level exchange with CCID
More information about the Pcsclite-cvs-commit
mailing list