diff options
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): |