From: <lu...@us...> - 2009-11-13 19:56:22
|
Revision: 326 http://pyscard.svn.sourceforge.net/pyscard/?rev=326&view=rev Author: ludov Date: 2009-11-13 19:56:15 +0000 (Fri, 13 Nov 2009) Log Message: ----------- add missing formatting \n Modified Paths: -------------- trunk/contrib/parseATR/parseATR.py Modified: trunk/contrib/parseATR/parseATR.py =================================================================== --- trunk/contrib/parseATR/parseATR.py 2009-11-13 19:53:58 UTC (rev 325) +++ trunk/contrib/parseATR/parseATR.py 2009-11-13 19:56:15 UTC (rev 326) @@ -455,16 +455,16 @@ if cs == None: text.append(" Error in the ATR: expecting 1 byte and got 0") else: - text.append(" Card service data byte: %d" % cs) + text.append(" Card service data byte: %d\n" % cs) text.append(card_service(cs)) elif tag == 4: text.append(" (initial access data)\n") - text.append(" Initial access data: " + toHexString(historical_bytes[:len])) + text.append(" Initial access data: " + toHexString(historical_bytes[:len]) + "\n") elif tag == 5: text.append(" (card issuer's data)\n") - text.append(" Card issuer data: " + toHexString(historical_bytes[:len])) + text.append(" Card issuer data: " + toHexString(historical_bytes[:len]) + "\n") elif tag == 6: text.append(" (pre-issuing data)\n") @@ -513,7 +513,7 @@ lcs = historical_bytes[0] sw1 = historical_bytes[1] sw2 = historical_bytes[2] - text.append(" LCS (life card cycle): %d" % lcs) + text.append(" LCS (life card cycle): %d\n" % lcs) text.append(" SW: %02X %02X" % (sw1, sw2)) elif tag == 15: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |