diff --git a/py/test/rsession/hostmanage.py b/py/test/rsession/hostmanage.py index 9c3494776..d1a4783d6 100644 --- a/py/test/rsession/hostmanage.py +++ b/py/test/rsession/hostmanage.py @@ -57,6 +57,9 @@ class HostInfo(object): def __str__(self): return "" % (self.hostname, self.relpath) + def __repr__(self): + return str(self) + def __hash__(self): return hash(self.hostid) @@ -75,8 +78,7 @@ class HostRSync(py.execnet.RSync): if 'ignores' in kwargs: ignores = kwargs.pop('ignores') self._ignores = ignores or [] - kwargs['delete'] = True - super(HostRSync, self).__init__(*args, **kwargs) + super(HostRSync, self).__init__(delete=True) def filter(self, path): path = py.path.local(path)