projects
/
invirt/packages/invirt-web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
632ab6d
)
web controls.py: remove newline in listHost
author
Greg Price
<price@mit.edu>
Tue, 8 Jul 2008 02:39:19 +0000
(22:39 -0400)
committer
Greg Price
<price@mit.edu>
Tue, 8 Jul 2008 02:39:19 +0000
(22:39 -0400)
svn path=/trunk/packages/sipb-xen-www/; revision=666
code/controls.py
patch
|
blob
|
history
diff --git
a/code/controls.py
b/code/controls.py
index
1d9b824
..
b946666
100644
(file)
--- a/
code/controls.py
+++ b/
code/controls.py
@@
-201,7
+201,7
@@
def listHost(machine):
out, err = remctl('control', machine.name, 'listhost', err=True)
if err:
return None
- return out
+ return out.strip()
def deleteVM(machine):
"""Delete a VM."""