From: <lu...@us...> - 2008-10-06 15:55:56
|
Revision: 233 http://pyscard.svn.sourceforge.net/pyscard/?rev=233&view=rev Author: ludov Date: 2008-10-06 13:49:48 +0000 (Mon, 06 Oct 2008) Log Message: ----------- use protocol=None insteaad of CardConnection.T0_protocol as default value Modified Paths: -------------- trunk/pyscard/src/smartcard/Examples/framework/sample_CardConnectionDecorator.py trunk/pyscard/src/smartcard/doc/pyscard-usersguide.html Modified: trunk/pyscard/src/smartcard/Examples/framework/sample_CardConnectionDecorator.py =================================================================== --- trunk/pyscard/src/smartcard/Examples/framework/sample_CardConnectionDecorator.py 2008-10-06 13:38:23 UTC (rev 232) +++ trunk/pyscard/src/smartcard/Examples/framework/sample_CardConnectionDecorator.py 2008-10-06 13:49:48 UTC (rev 233) @@ -51,7 +51,7 @@ print 'uncyphering', toHexString( data ) return data - def transmit( self, bytes, protocol=CardConnection.T0_protocol ): + def transmit( self, bytes, protocol=None ): """Cypher/uncypher APDUs before transmission""" cypheredbytes = self.cypher( bytes ) data, sw1, sw2 = CardConnectionDecorator.transmit( self, cypheredbytes, protocol ) Modified: trunk/pyscard/src/smartcard/doc/pyscard-usersguide.html =================================================================== --- trunk/pyscard/src/smartcard/doc/pyscard-usersguide.html 2008-10-06 13:38:23 UTC (rev 232) +++ trunk/pyscard/src/smartcard/doc/pyscard-usersguide.html 2008-10-06 13:49:48 UTC (rev 233) @@ -1400,7 +1400,7 @@ print 'uncyphering', toHexString( data ) return data - def transmit( self, bytes, protocol=CardConnection.T0_protocol ): + def transmit( self, bytes, protocol=None ): """Cypher/uncypher APDUs before transmission""" cypheredbytes = self.cypher( bytes ) data, sw1, sw2 = CardConnectionDecorator.transmit( self, cypheredbytes, protocol ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |