diff --git a/openstack/common/context.py b/openstack/common/context.py index 09019ee..3eeb445 100644 --- a/openstack/common/context.py +++ b/openstack/common/context.py @@ -25,7 +25,7 @@ import uuid def generate_request_id(): - return 'req-%s' % str(uuid.uuid4()) + return b'req-' + str(uuid.uuid4()).encode('ascii') class RequestContext(object):