call site 2 for execnet.RSync.__init__
test/rsession/testing/test_hostmanage.py - line 227
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
   def test_hostmanager_init_rsync_roots(self):
       dir2 = self.source.ensure("dir1", "dir2", dir=1)
       self.source.ensure("dir1", "somefile", dir=1)
       dir2.ensure("hello")
       self.source.ensure("bogusdir", "file")
       self.source.join("conftest.py").write(py.code.Source("""
               dist_rsync_roots = ['dir1/dir2']
           """))
       config = py.test.config._reparse([self.source])
       hm = HostManager(config, 
                        hosts=[HostInfo("localhost:" + str(self.dest))])
       events = []
->     hm.init_rsync(reporter=events.append)
       assert self.dest.join("dir2").check()
       assert not self.dest.join("dir1").check()
       assert not self.dest.join("bogus").check()
test/rsession/hostmanage.py - line 147
141
142
143
144
145
146
147
148
149
150
151
152
153
154
   def init_rsync(self, reporter):
       ignores = self.config.getvalue_pathlist("dist_rsync_ignore")
       self.prepare_gateways(reporter)
       # send each rsync root
       for root in self.roots:
           rsync = HostRSync(root, ignores=ignores, 
->                           verbose=self.config.option.verbose)
           if self._addrel: 
               destrelpath = ""
           else:
               destrelpath = root.basename
           for host in self.hosts:
               rsync.add_target_host(host, destrelpath, reporter)
           rsync.send(raises=False)
test/rsession/hostmanage.py - line 83
77
78
79
80
81
82
83
   def __init__(self, sourcedir, *args, **kwargs):
       self._synced = {}
       ignores= None
       if 'ignores' in kwargs:
           ignores = kwargs.pop('ignores')
       self._ignores = ignores or []
->     super(HostRSync, self).__init__(sourcedir=sourcedir, **kwargs)