From: <lu...@us...> - 2009-11-12 12:32:44
|
Revision: 323 http://pyscard.svn.sourceforge.net/pyscard/?rev=323&view=rev Author: ludov Date: 2009-11-12 12:32:36 +0000 (Thu, 12 Nov 2009) Log Message: ----------- use sw2 instead of sw1 when needed (typo) Thanks to Alexei Bouznik for the bug report Modified Paths: -------------- trunk/contrib/parseATR/parseATR.py Modified: trunk/contrib/parseATR/parseATR.py =================================================================== --- trunk/contrib/parseATR/parseATR.py 2009-10-21 15:53:13 UTC (rev 322) +++ trunk/contrib/parseATR/parseATR.py 2009-11-12 12:32:36 UTC (rev 323) @@ -549,7 +549,7 @@ (lcs, sw1, sw2) = status[:3] text.append(" Mandatory status indicator (3 last bytes)\n") text.append(" LCS (life card cycle): %d (%s)" % (lcs, life_cycle_status(lcs))) - text.append( " SW: %02X%02X (%s)" % (sw1, sw1, "")) #Chipcard::PCSC::Card::ISO7816Error("$sw1 $sw2")) + text.append( " SW: %02X%02X (%s)" % (sw1, sw2, "")) #Chipcard::PCSC::Card::ISO7816Error("$sw1 $sw2")) elif hb_category == 0x80: text.append(" (compact TLV data object)\n") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |