diff options
| author | Eric Windisch <eric@cloudscaling.com> | 2011-03-09 22:00:12 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-03-09 22:00:12 +0000 |
| commit | b5d7065512a155d5ad23b4f240645f7bee03f7cb (patch) | |
| tree | 315be5e6fe998f85bac24f47b4bb27badde9504a /nova/api | |
| parent | f93e424c0c722f5607086349787a95517f31d79b (diff) | |
| parent | e8554da80ac916f168461cb48078488700081c02 (diff) | |
Fixes bug 726359. Passes unit tests.
Changes parameters of utils.execute to utils.execute(*cmd, **kwargs). The kwargs themselves have not changed, other than changing check_exit_code to default to 0. The exit code of the process is now checked against this variable, unless None.
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/ec2/cloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py index 0d22a3f46..b7d72d1c1 100644 --- a/nova/api/ec2/cloud.py +++ b/nova/api/ec2/cloud.py @@ -115,7 +115,7 @@ class CloudController(object): start = os.getcwd() os.chdir(FLAGS.ca_path) # TODO(vish): Do this with M2Crypto instead - utils.runthis(_("Generating root CA: %s"), "sh genrootca.sh") + utils.runthis(_("Generating root CA: %s"), "sh", "genrootca.sh") os.chdir(start) def _get_mpi_data(self, context, project_id): |
