[Pcsclite-cvs-commit] r5040 - in /trunk/PCSC/UnitaryTests: MCT_ReaderDirect.py control_get_firmware.py control_switch_interface.py stress_get_firmware.py

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Fri Jun 25 09:08:29 UTC 2010


Author: rousseau
Date: Fri Jun 25 09:08:24 2010
New Revision: 5040

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5040
Log:
use readers() from smartcard.System instead of smartcard.pcsc.PCSCReader

readers() method is now a staticmethod of the PCSCReader class
since pyscard subversion revision 500.

Modified:
    trunk/PCSC/UnitaryTests/MCT_ReaderDirect.py
    trunk/PCSC/UnitaryTests/control_get_firmware.py
    trunk/PCSC/UnitaryTests/control_switch_interface.py
    trunk/PCSC/UnitaryTests/stress_get_firmware.py

Modified: trunk/PCSC/UnitaryTests/MCT_ReaderDirect.py
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/UnitaryTests/MCT_ReaderDirect.py?rev=5040&op=diff
==============================================================================
--- trunk/PCSC/UnitaryTests/MCT_ReaderDirect.py (original)
+++ trunk/PCSC/UnitaryTests/MCT_ReaderDirect.py Fri Jun 25 09:08:24 2010
@@ -19,7 +19,7 @@
 #   with this program; if not, write to the Free Software Foundation, Inc.,
 #   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-from smartcard.pcsc.PCSCReader import readers
+from smartcard.System import readers
 from smartcard.pcsc.PCSCPart10 import (SCARD_SHARE_DIRECT,
     SCARD_LEAVE_CARD, FEATURE_MCT_READER_DIRECT, getFeatureRequest, hasFeature)
 from smartcard.util import toHexString

Modified: trunk/PCSC/UnitaryTests/control_get_firmware.py
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/UnitaryTests/control_get_firmware.py?rev=5040&op=diff
==============================================================================
--- trunk/PCSC/UnitaryTests/control_get_firmware.py (original)
+++ trunk/PCSC/UnitaryTests/control_get_firmware.py Fri Jun 25 09:08:24 2010
@@ -19,7 +19,7 @@
 #   with this program; if not, write to the Free Software Foundation, Inc.,
 #   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-from smartcard.pcsc.PCSCReader import readers
+from smartcard.System import readers
 from smartcard.pcsc.PCSCPart10 import (SCARD_SHARE_DIRECT,
     SCARD_LEAVE_CARD, SCARD_CTL_CODE)
 

Modified: trunk/PCSC/UnitaryTests/control_switch_interface.py
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/UnitaryTests/control_switch_interface.py?rev=5040&op=diff
==============================================================================
--- trunk/PCSC/UnitaryTests/control_switch_interface.py (original)
+++ trunk/PCSC/UnitaryTests/control_switch_interface.py Fri Jun 25 09:08:24 2010
@@ -19,7 +19,7 @@
 #   with this program; if not, write to the Free Software Foundation, Inc.,
 #   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-from smartcard.pcsc.PCSCReader import readers
+from smartcard.System import readers
 from smartcard.pcsc.PCSCPart10 import (SCARD_SHARE_DIRECT,
     SCARD_LEAVE_CARD, SCARD_CTL_CODE)
 

Modified: trunk/PCSC/UnitaryTests/stress_get_firmware.py
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/UnitaryTests/stress_get_firmware.py?rev=5040&op=diff
==============================================================================
--- trunk/PCSC/UnitaryTests/stress_get_firmware.py (original)
+++ trunk/PCSC/UnitaryTests/stress_get_firmware.py Fri Jun 25 09:08:24 2010
@@ -19,7 +19,7 @@
 #   with this program; if not, write to the free software foundation, inc.,
 #   51 franklin street, fifth floor, boston, ma 02110-1301 usa.
 
-from smartcard.pcsc.PCSCReader import readers
+from smartcard.System import readers
 from smartcard.pcsc.PCSCPart10 import (SCARD_SHARE_DIRECT,
     SCARD_LEAVE_CARD, SCARD_CTL_CODE)
 from time import time, ctime




More information about the Pcsclite-cvs-commit mailing list