equal
deleted
inserted
replaced
1 """Some utilities for the CubicWeb server. |
1 """Some utilities for the CubicWeb server. |
2 |
2 |
3 :organization: Logilab |
3 :organization: Logilab |
4 :copyright: 2001-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
4 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
6 """ |
6 """ |
7 __docformat__ = "restructuredtext en" |
7 __docformat__ = "restructuredtext en" |
8 |
8 |
9 import sys |
9 import sys |
126 Thread.start(self) |
126 Thread.start(self) |
127 |
127 |
128 @property |
128 @property |
129 def name(self): |
129 def name(self): |
130 return '%s(%s)' % (self._name, Thread.getName(self)) |
130 return '%s(%s)' % (self._name, Thread.getName(self)) |
131 |
|
132 |
|
133 from logilab.common.deprecation import class_moved |
|
134 from cubicweb.server import pool |
|
135 Operation = class_moved(pool.Operation) |
|
136 PreCommitOperation = class_moved(pool.PreCommitOperation) |
|
137 LateOperation = class_moved(pool.LateOperation) |
|
138 SingleLastOperation = class_moved(pool.SingleLastOperation) |
|