[svn r38176] make delete a per-host option (internally it is anyway)

--HG--
branch : trunk
This commit is contained in:
hpk
2007-02-08 17:04:58 +01:00
parent c18ab8fd7e
commit 7fccd77b8a
3 changed files with 14 additions and 17 deletions

View File

@@ -77,7 +77,6 @@ class HostRSync(py.execnet.RSync):
if 'ignores' in kwargs:
ignores = kwargs.pop('ignores')
self._ignores = ignores or []
kwargs['delete'] = True
super(HostRSync, self).__init__(source, **kwargs)
def filter(self, path):
@@ -106,7 +105,9 @@ class HostRSync(py.execnet.RSync):
remotepath = os.path.join(remotepath, destrelpath)
super(HostRSync, self).add_target(gw,
remotepath,
finishedcallback)
finishedcallback,
delete=True,
)
return remotepath
class HostManager(object):