diff options
author | Flavio Percoco <fpercoco@redhat.com> | 2013-11-13 21:15:34 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-11-13 21:15:34 +0000 |
commit | c42f34442c5b644b450fbe6b1627c0b9065ec887 (patch) | |
tree | 845a9725d4b46b93c2a05e94ed38e51bdf95f88d | |
parent | c1e6fe86ad367a24921bae9fb935d5d237f8210a (diff) | |
download | oslo-context-c42f34442c5b644b450fbe6b1627c0b9065ec887.tar.gz |
Revert "Removes generate_uuid from uuidutils"
This reverts commit 571a78a4bb17a753972e5ef90b0bbdff727fcfa7
-rw-r--r-- | openstack/common/context.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openstack/common/context.py b/openstack/common/context.py index cdfe433..02433ea 100644 --- a/openstack/common/context.py +++ b/openstack/common/context.py @@ -23,11 +23,12 @@ context or provide additional information in their specific WSGI pipeline. """ import itertools -import uuid + +from openstack.common import uuidutils def generate_request_id(): - return 'req-%s' % str(uuid.uuid4()) + return 'req-%s' % uuidutils.generate_uuid() class RequestContext(object): |