Mercurial > public > mercurial-scm > hg-stable
diff hgext/mq.py @ 8778:c5f36402daad
use new style classes
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Wed, 10 Jun 2009 15:10:21 +0200 |
parents | 0289f384e1e5 |
children | 51c29aec0b75 |
line wrap: on
line diff
--- a/hgext/mq.py Wed Jun 10 03:20:20 2009 +0200 +++ b/hgext/mq.py Wed Jun 10 15:10:21 2009 +0200 @@ -42,7 +42,7 @@ # They must be joinable with queue directory and result in the patch path. normname = util.normpath -class statusentry: +class statusentry(object): def __init__(self, rev, name=None): if not name: fields = rev.split(':', 1) @@ -191,7 +191,7 @@ ci += 1 del self.comments[ci] -class queue: +class queue(object): def __init__(self, ui, path, patchdir=None): self.basepath = path self.path = patchdir or os.path.join(path, "patches")