summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authortermie <github@anarkystic.com>2011-04-20 12:08:24 -0700
committertermie <github@anarkystic.com>2011-04-20 12:08:24 -0700
commit6eacc130af49ced7a1e5ce511c7096dd7563b4b2 (patch)
tree60d99fd36060859258313283d6b049737c37086a /nova/utils.py
parentf69600e1844898bd48dc8f615c6684044d9aebe0 (diff)
downloadnova-6eacc130af49ced7a1e5ce511c7096dd7563b4b2.tar.gz
nova-6eacc130af49ced7a1e5ce511c7096dd7563b4b2.tar.xz
nova-6eacc130af49ced7a1e5ce511c7096dd7563b4b2.zip
cleanups per code review
Diffstat (limited to 'nova/utils.py')
-rw-r--r--nova/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/utils.py b/nova/utils.py
index 59f694196..b783f6c14 100644
--- a/nova/utils.py
+++ b/nova/utils.py
@@ -182,11 +182,11 @@ def ssh_execute(ssh, cmd, process_input=None,
addl_env=None, check_exit_code=True):
LOG.debug(_('Running cmd (SSH): %s'), ' '.join(cmd))
if addl_env:
- raise exception.Error('Environment not supported over SSH')
+ raise exception.Error(_('Environment not supported over SSH'))
if process_input:
# This is (probably) fixable if we need it...
- raise exception.Error('process_input not supported over SSH')
+ raise exception.Error(_('process_input not supported over SSH'))
stdin_stream, stdout_stream, stderr_stream = ssh.exec_command(cmd)
channel = stdout_stream.channel