[Pcsclite-cvs-commit] r6014 - /trunk/PCSC/src/spy/pcsc-spy.py

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Fri Oct 7 10:33:16 UTC 2011


Author: rousseau
Date: Fri Oct  7 10:33:15 2011
New Revision: 6014

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6014
Log:
log_buffer(): use upper case for hexadecimal dump

Modified:
    trunk/PCSC/src/spy/pcsc-spy.py

Modified: trunk/PCSC/src/spy/pcsc-spy.py
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/spy/pcsc-spy.py?rev=6014&op=diff
==============================================================================
--- trunk/PCSC/src/spy/pcsc-spy.py (original)
+++ trunk/PCSC/src/spy/pcsc-spy.py Fri Oct  7 10:33:15 2011
@@ -344,7 +344,7 @@
             while data_buffer:
                 line = data_buffer[:width]
                 data_buffer = data_buffer[width:]
-                hex_dump = " ".join("%02x" % c for c in line)
+                hex_dump = " ".join("%02X" % c for c in line)
                 ascii_dump = quotechars(line)
                 if len(line) < width:
                     hex_dump += "   " * (width - len(line))




More information about the Pcsclite-cvs-commit mailing list