Mercurial > public > mercurial-scm > hg
diff tests/test-wireprotocol.py @ 14764:a7d5816087a9 stable
classes: fix class style problems found by b071cd58af50
This makes test-wireprotocol.py work on Python 2.4
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 29 Jun 2011 15:00:00 +0200 |
parents | bd88561afb4b |
children |
line wrap: on
line diff
--- a/tests/test-wireprotocol.py Wed Jun 29 13:45:51 2011 +0200 +++ b/tests/test-wireprotocol.py Wed Jun 29 15:00:00 2011 +0200 @@ -1,6 +1,6 @@ from mercurial import wireproto -class proto(): +class proto(object): def __init__(self, args): self.args = args def getargs(self, spec): @@ -21,7 +21,7 @@ yield wireproto.todict(name=mangle(name)), f yield unmangle(f.value) -class serverrepo(): +class serverrepo(object): def greet(self, name): return "Hello, " + name