Fix line breaks
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@10 f711b948-2313-0410-aaa9-d29f33439f0b
This commit is contained in:
parent
ebeb989e38
commit
122f2b9020
2
utils.py
2
utils.py
|
@ -25,7 +25,7 @@ def hexdump(data, indent = 0, short = False):
|
|||
pos = 0
|
||||
while len(head) > 0:
|
||||
if pos > 0:
|
||||
result = result + "\n%s" % ' ' * indent
|
||||
result = result + "\n%s" % (' ' * indent)
|
||||
result = result + "%04x: %-48s %-16s" % (pos, hexable(head), printable(head))
|
||||
pos = pos + len(head)
|
||||
(head, tail) = (tail[:16], tail[16:])
|
||||
|
|
Loading…
Reference in New Issue