parent
479aa2e03f
commit
3ea6a768e0
|
@ -52,9 +52,7 @@ class HostInfo(object):
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return "<HostInfo %s:%s>" % (self.hostname, self.relpath)
|
return "<HostInfo %s:%s>" % (self.hostname, self.relpath)
|
||||||
|
__repr__ = __str__
|
||||||
def __repr__(self):
|
|
||||||
return str(self)
|
|
||||||
|
|
||||||
def __hash__(self):
|
def __hash__(self):
|
||||||
return hash(self.hostid)
|
return hash(self.hostid)
|
||||||
|
@ -63,7 +61,7 @@ class HostInfo(object):
|
||||||
return self.hostid == other.hostid
|
return self.hostid == other.hostid
|
||||||
|
|
||||||
def __ne__(self, other):
|
def __ne__(self, other):
|
||||||
return not self == other
|
return not self.hostid == other.hostid
|
||||||
|
|
||||||
class HostRSync(py.execnet.RSync):
|
class HostRSync(py.execnet.RSync):
|
||||||
""" RSyncer that filters out common files
|
""" RSyncer that filters out common files
|
||||||
|
|
Loading…
Reference in New Issue