diff options
author | Jenkins <jenkins@review.openstack.org> | 2012-11-14 16:30:13 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2012-11-14 16:30:13 +0000 |
commit | 16266a4afbfdbed5e3c2334e03e2c9c43b133020 (patch) | |
tree | 4f2d99cc94e97d57bc823f42c8532b27618f861b /nova/context.py | |
parent | aa87ccc74ee366a6cc9763855f78c0f65e18086b (diff) | |
parent | 5beeed884753c3fb196cb66684d761dfc424b0db (diff) | |
download | nova-16266a4afbfdbed5e3c2334e03e2c9c43b133020.tar.gz nova-16266a4afbfdbed5e3c2334e03e2c9c43b133020.tar.xz nova-16266a4afbfdbed5e3c2334e03e2c9c43b133020.zip |
Merge "Remove gen_uuid()"
Diffstat (limited to 'nova/context.py')
-rw-r--r-- | nova/context.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/context.py b/nova/context.py index 74f7a3c23..094e2bffb 100644 --- a/nova/context.py +++ b/nova/context.py @@ -20,19 +20,19 @@ """RequestContext: context for requests that persist through all of nova.""" import copy +import uuid from nova.openstack.common import local from nova.openstack.common import log as logging from nova.openstack.common import timeutils from nova import policy -from nova import utils LOG = logging.getLogger(__name__) def generate_request_id(): - return 'req-' + str(utils.gen_uuid()) + return 'req-' + str(uuid.uuid4()) class RequestContext(object): |