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:
henryk 2005-09-28 20:19:27 +00:00
parent ebeb989e38
commit 122f2b9020
1 changed files with 1 additions and 1 deletions

View File

@ -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:])