[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: if host.hostname == "localhost" and remotepath == self._sourcedir:
self._synced[key] = True self._synced[key] = True
synced = key in self._synced synced = key in self._synced
reporter(repevent.HostRSyncing(host, self._sourcedir, reporter(repevent.HostRSyncing(host, py.path.local(self._sourcedir),
remotepath, synced)) remotepath, synced))
def hostrsynced(host=host): def hostrsynced(host=host):
reporter(repevent.HostRSyncRootReady(host, self._sourcedir)) reporter(repevent.HostRSyncRootReady(host, self._sourcedir))

View File

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