Commit 598f5e29 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Align columns displayed by neoctl tool.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1940 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 3b5272b3
...@@ -55,7 +55,7 @@ class TerminalNeoCTL(object): ...@@ -55,7 +55,7 @@ class TerminalNeoCTL(object):
return bin(value) return bin(value)
def formatRowList(self, row_list): def formatRowList(self, row_list):
return '\n'.join('%s | %s' % (offset, return '\n'.join('%03d | %s' % (offset,
''.join('%s - %s |' % (dump(uuid), state) ''.join('%s - %s |' % (dump(uuid), state)
for (uuid, state) in cell_list)) for (uuid, state) in cell_list))
for (offset, cell_list) in row_list) for (offset, cell_list) in row_list)
......
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