oops, key can be non str 3.5
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 09 Sep 2009 18:38:25 +0200
branch3.5
changeset 3155 14e30e2520d7
parent 3154 575a42bce11f
child 3156 cd56d5c379cb
oops, key can be non str
utils.py
--- a/utils.py	Wed Sep 09 18:00:18 2009 +0200
+++ b/utils.py	Wed Sep 09 18:38:25 2009 +0200
@@ -114,7 +114,7 @@
 else:
     from uuid import uuid4
     def make_uid(key):
-        return key + str(uuid4())
+        return str(key) + str(uuid4())
 
 def dump_class(cls, clsname):
     """create copy of a class by creating an empty class inheriting