diff mercurial/commands.py @ 1560:6efad1cc07de

Merge with http://hg.omnifarious.org/~hopper/mercurial
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 29 Nov 2005 18:06:23 +0100
parents f7d9823e65df 59b3639df0a9
children 9c6d0abdb94e
line wrap: on
line diff
--- 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):