Merge "Remove redundant str typecasting"

This commit is contained in:
Jenkins authored and Gerrit Code Review committed 2016-09-23 14:23:38 +00:00
commit 2be8f702eb
1 file changed
+1 -1
+1 -1
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]