Commit 2d056029 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix erroneous super-class constructor call by using "super" function.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1218 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent d8771860
......@@ -100,7 +100,7 @@ class VerboseLockBase(object):
class VerboseRLock(VerboseLockBase):
def __init__(self, verbose=None):
VerboseLock.__init__(self, reentrant=True)
super(VerboseRLock, self).__init__(reentrant=True)
self.lock = threading_RLock()
def _locked(self):
......@@ -111,7 +111,7 @@ class VerboseRLock(VerboseLockBase):
class VerboseLock(VerboseLockBase):
def __init__(self, verbose=None):
VerboseLock.__init__(self)
super(VerboseLock, self).__init__()
self.lock = threading_Lock()
def locked(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment