summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorMonty Taylor <mordred@hudson>2010-07-14 22:04:27 +0000
committerMonty Taylor <mordred@hudson>2010-07-14 22:04:27 +0000
commitb41bb8cefa3a03e820375871e8411039f23f6b45 (patch)
tree449b786dfa606e0e685ed4cc3e68815964d46734 /nova
parentea9b913ccceda5944c881f3ce9cadde39b0e0344 (diff)
Added build-deps to debian/control that are needed to run test suite.
Fixed an error in a test case.
Diffstat (limited to 'nova')
-rw-r--r--nova/crypto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/crypto.py b/nova/crypto.py
index 80b4ef9de..114143baf 100644
--- a/nova/crypto.py
+++ b/nova/crypto.py
@@ -92,7 +92,7 @@ def ssl_pub_to_ssh_pub(ssl_public_key, name='root', suffix='nova'):
+ " transport | lsh-export-key --openssh"
(out, err) = utils.execute(convert, ssl_public_key)
if err:
- raise exception.Error("Failed to generate key: %s", err)
+ raise exception.Error("Failed to generate key: %s" % err)
return '%s %s@%s\n' %(out.strip(), name, suffix)