comparison hgext/convert/subversion.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 46b5b4301fcc
children eb7b247a98ea
comparison
equal deleted inserted replaced
8777:012be286b2c4 8778:c5f36402daad
116 util.set_binary(sys.stdin) 116 util.set_binary(sys.stdin)
117 util.set_binary(sys.stdout) 117 util.set_binary(sys.stdout)
118 args = decodeargs(sys.stdin.read()) 118 args = decodeargs(sys.stdin.read())
119 get_log_child(sys.stdout, *args) 119 get_log_child(sys.stdout, *args)
120 120
121 class logstream: 121 class logstream(object):
122 """Interruptible revision log iterator.""" 122 """Interruptible revision log iterator."""
123 def __init__(self, stdout): 123 def __init__(self, stdout):
124 self._stdout = stdout 124 self._stdout = stdout
125 125
126 def __iter__(self): 126 def __iter__(self):