Merge "Remove redundant str typecasting"

This commit is contained in:
Jenkins 2016-09-23 14:23:38 +00:00 committed by Gerrit Code Review
commit 2be8f702eb
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class UUIDSentinels(object):
if name.startswith('_'):
raise ValueError('Sentinels must not start with _')
if name not in self._sentinels:
self._sentinels[name] = str(self._uuid_module.generate_uuid())
self._sentinels[name] = self._uuid_module.generate_uuid()
return self._sentinels[name]