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,10 +55,10 @@ class TerminalNeoCTL(object):
return bin(value)
def formatRowList(self, row_list):
return '\n'.join('%s | %s' % (offset,
''.join('%s - %s |' % (dump(uuid), state)
for (uuid, state) in cell_list))
for (offset, cell_list) in row_list)
return '\n'.join('%03d | %s' % (offset,
''.join('%s - %s |' % (dump(uuid), state)
for (uuid, state) in cell_list))
for (offset, cell_list) in row_list)
def formatNodeList(self, node_list):
if not node_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