diff mercurial/lock.py @ 1559:59b3639df0a9

Convert all classes to new-style classes by deriving them from object.
author Eric Hopper <hopper@omnifarious.org>
date Fri, 18 Nov 2005 22:48:47 -0800
parents abfab59fce79
children e6e70450edb9
line wrap: on
line diff
--- 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