mercurial/commands.py
changeset 1560 6efad1cc07de
parent 1557 f7d9823e65df
parent 1559 59b3639df0a9
child 1561 9c6d0abdb94e
--- a/mercurial/commands.py	Sun Nov 27 16:37:18 2005 +0100
+++ b/mercurial/commands.py	Tue Nov 29 18:06:23 2005 +0100
@@ -678,7 +678,7 @@
 
     dest = os.path.realpath(dest)
 
-    class Dircleanup:
+    class Dircleanup(object):
         def __init__(self, dir_):
             self.rmtree = shutil.rmtree
             self.dir_ = dir_
@@ -1188,7 +1188,7 @@
             yield linenum, mstart - lstart, mend - lstart, body[lstart:lend]
             begin = lend + 1
 
-    class linestate:
+    class linestate(object):
         def __init__(self, line, linenum, colstart, colend):
             self.line = line
             self.linenum = linenum
@@ -1479,7 +1479,7 @@
     commit. When the -v/--verbose switch is used, the list of changed
     files and full commit message is shown.
     """
-    class dui:
+    class dui(object):
         # Implement and delegate some ui protocol.  Save hunks of
         # output for later display in the desired order.
         def __init__(self, ui):