From 8c2ef5cb22af142708fbb17bb77641c3dc9e1666 Mon Sep 17 00:00:00 2001 From: hpk Date: Fri, 2 Feb 2007 22:01:27 +0100 Subject: [PATCH] [svn r37831] improving more docstrings --HG-- branch : trunk --- py/execnet/rsync.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/py/execnet/rsync.py b/py/execnet/rsync.py index 064c6ae10..be8e0dd9f 100644 --- a/py/execnet/rsync.py +++ b/py/execnet/rsync.py @@ -28,7 +28,8 @@ class RSync(object): return True def add_target(self, gateway, destdir, finishedcallback=None): - """ Adds a target for to-be-send data + """ Adds a remote target specified via a 'gateway' + and a remote destination directory. """ def itemcallback(req): self.receivequeue.put((channel, req)) @@ -38,7 +39,7 @@ class RSync(object): self.channels[channel] = finishedcallback def send(self, sourcedir): - """ Sends a sourcedir to previously prepared targets + """ Sends a sourcedir to all added targets. """ self.sourcedir = str(sourcedir) # normalize a trailing '/' away