[svn r38197] slight reporting fix

--HG--
branch : trunk
This commit is contained in:
hpk 2007-02-08 20:10:58 +01:00
parent 4976889c53
commit 479aa2e03f
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ class HostRSync(py.execnet.RSync):
if host.hostname == "localhost" and remotepath == self._sourcedir:
self._synced[key] = True
synced = key in self._synced
reporter(repevent.HostRSyncing(host, self._sourcedir,
reporter(repevent.HostRSyncing(host, py.path.local(self._sourcedir),
remotepath, synced))
def hostrsynced(host=host):
reporter(repevent.HostRSyncRootReady(host, self._sourcedir))

View File

@ -65,7 +65,7 @@ class AbstractReporter(object):
hostrepr, item.remotepath)
else:
print "%15s: skip duplicate rsync to %r" % (
hostrepr, str(item.root))
hostrepr, item.root)
else:
print "%15s: rsync %r to remote %r" % (hostrepr,
item.root.basename,