[svn r38198] almost cosmetic

--HG--
branch : trunk
This commit is contained in:
hpk 2007-02-08 20:15:05 +01:00
parent 479aa2e03f
commit 3ea6a768e0
1 changed files with 2 additions and 4 deletions

View File

@ -52,9 +52,7 @@ class HostInfo(object):
def __str__(self):
return "<HostInfo %s:%s>" % (self.hostname, self.relpath)
def __repr__(self):
return str(self)
__repr__ = __str__
def __hash__(self):
return hash(self.hostid)
@ -63,7 +61,7 @@ class HostInfo(object):
return self.hostid == other.hostid
def __ne__(self, other):
return not self == other
return not self.hostid == other.hostid
class HostRSync(py.execnet.RSync):
""" RSyncer that filters out common files