projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
web controls.py: remove newline in listHost
[invirt/packages/invirt-web.git]
/
code
/
controls.py
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."""