X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/632ab6dde450c5e7b35f8817816c9d04294bd230..6c24c84e935979be713f74558dbaa7fc0a004749:/code/controls.py diff --git a/code/controls.py b/code/controls.py index 1d9b824..b946666 100644 --- 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."""