Commits

Robert Brewer committed f1ca255
  • Participants
  • Parent commits f43ed6a
  • Branches cherrypy-2.x

Comments (0)

Files changed (1)

File cherrypy/_cpthreadinglocal.py

 
     def __new__(cls, *args, **kw):
         self = object.__new__(cls)
-        key = '_local__key', 'thread.local.' + str(id(self))
+        key = 'thread.local.' + str(id(self))
         object.__setattr__(self, '_local__key', key)
         object.__setattr__(self, '_local__args', (args, kw))
         object.__setattr__(self, '_local__lock', RLock())