Commit 659bf636 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix off-by-one error when printing the last line of partition table dumps.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@637 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent de9b6bea
......@@ -197,7 +197,7 @@ class PartitionTable(object):
cell.append('.')
line.append(''.join(cell))
if len(line):
logging.debug('pt: %08d: %s', offset - len(line),
logging.debug('pt: %08d: %s', offset - len(line) + 1,
'|'.join(line))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment