diff options
Diffstat (limited to 'openstack/common')
| -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 e9cfd73..c872331 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-' + str(uuid.uuid4()) + return 'req-%s' % uuidutils.generate_uuid() class RequestContext(object): |
