summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-10-26 02:28:54 +0000
committerGerrit Code Review <review@openstack.org>2012-10-26 02:28:54 +0000
commit409de17308f221468e6e9d609752a57da34f1b3b (patch)
tree8acefdff6e5154861eb74ba25232207ed24aa90b /nova/api
parentf1e5fbf92af1fb1e1c2f0634870159e7bac19cfd (diff)
parent0d4e6dbe6f17d0a8d0f93833c1ea70f79944d945 (diff)
Merge "Migrate to fileutils and lockutils."
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/compute/contrib/cloudpipe.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/api/openstack/compute/contrib/cloudpipe.py b/nova/api/openstack/compute/contrib/cloudpipe.py
index 48b641348..afc24b95d 100644
--- a/nova/api/openstack/compute/contrib/cloudpipe.py
+++ b/nova/api/openstack/compute/contrib/cloudpipe.py
@@ -25,6 +25,7 @@ from nova import db
from nova import exception
from nova import flags
from nova import network
+from nova.openstack.common import fileutils
from nova.openstack.common import log as logging
from nova.openstack.common import timeutils
from nova import utils
@@ -69,7 +70,7 @@ class CloudpipeController(object):
# NOTE(vish): One of the drawbacks of doing this in the api is
# the keys will only be on the api node that launched
# the cloudpipe.
- utils.ensure_tree(FLAGS.keys_path)
+ fileutils.ensure_tree(FLAGS.keys_path)
def _get_all_cloudpipes(self, context):
"""Get all cloudpipes"""