mercurial/lock.py
changeset 1559 59b3639df0a9
parent 1530 abfab59fce79
child 1753 e6e70450edb9
--- a/mercurial/lock.py
+++ b/mercurial/lock.py
@@ -11,7 +11,7 @@ import util
 class LockHeld(Exception):
     pass
 
-class lock:
+class lock(object):
     def __init__(self, file, wait=1, releasefn=None):
         self.f = file
         self.held = 0