Explorar o código

Fixed typo bug with uuid generation.

Jonatan Heyman %!s(int64=15) %!d(string=hai) anos
pai
achega
137f6d7fbc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      celery/utils.py

+ 1 - 1
celery/utils.py

@@ -50,7 +50,7 @@ def gen_unique_id():
         buffer = ctypes.create_string_buffer(16)
         _uuid_generate_random(buffer)
         return str(UUID(bytes=buffer.raw))
-    return str(uuid.uuid4())
+    return str(uuid4())
 
 
 def mitemgetter(*keys):