Merge "Remove redundant str typecasting"
This commit is contained in:
commit
2be8f702eb
1 file changed
+1
-1
@@ -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]
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user