|
From: <lu...@us...> - 2012-09-27 16:41:12
|
Revision: 597
http://pyscard.svn.sourceforge.net/pyscard/?rev=597&view=rev
Author: ludov
Date: 2012-09-27 16:41:06 +0000 (Thu, 27 Sep 2012)
Log Message:
-----------
Make it clear the text is the equivalent ASCII string
Historical Bytes in proprietary format are also displayed as an ASCII
string.
Modified Paths:
--------------
trunk/contrib/parseATR/parseATR.py
Modified: trunk/contrib/parseATR/parseATR.py
===================================================================
--- trunk/contrib/parseATR/parseATR.py 2012-04-08 11:07:18 UTC (rev 596)
+++ trunk/contrib/parseATR/parseATR.py 2012-09-27 16:41:06 UTC (rev 597)
@@ -642,12 +642,13 @@
else:
text.append(" (proprietary format)")
- ascii = " "
+ ascii = " equivalent ASCII string: \""
for b in historical_bytes:
if b > 31 and b < 127:
ascii += chr(b)
else:
ascii += '.'
+ ascii += '"'
text.append(''.join(ascii))
return text
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|