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	Thu Nov 17 19:38:57 2005 +0100
+++ b/mercurial/lock.py	Fri Nov 18 22:48:47 2005 -0800
@@ -11,7 +11,7 @@
 class LockHeld(Exception):
     pass
 
-class lock:
+class lock(object):
     def __init__(self, file, wait=1, releasefn=None):
         self.f = file
         self.held = 0