git.annexia.org
/
mclu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0546bcb
)
Reformat so columns line up in 'mclu list' output.
author
Richard W.M. Jones
<rjones@redhat.com>
Wed, 14 May 2014 20:35:44 +0000
(21:35 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Wed, 14 May 2014 20:35:44 +0000
(21:35 +0100)
mclu_list.py
patch
|
blob
|
history
diff --git
a/mclu_list.py
b/mclu_list.py
index
1ddd445
..
4b2c956
100644
(file)
--- a/
mclu_list.py
+++ b/
mclu_list.py
@@
-53,8
+53,9
@@
def run (c, args):
for guest in running.values():
node_name = guest['node']
dom_name = guest['vm']
- print "%s:%s\trunning" % (node_name, dom_name)
+ full_name = "%s:%s" % (node_name, dom_name)
+ print "%-40s running" % full_name
if show_inactive:
for name in inactive.values():
- print "%
s\t
inactive" % name
+ print "%
-40s
inactive" % name