[py-svn] r36834 - py/dist/py/test/rsession

arigo at codespeak.net arigo at codespeak.net
Tue Jan 16 18:46:43 CET 2007


Author: arigo
Date: Tue Jan 16 18:46:41 2007
New Revision: 36834

Modified:
   py/dist/py/test/rsession/rsync.py
Log:
Display the name of the files that are queued to be sent, and the machine
where it will go.


Modified: py/dist/py/test/rsession/rsync.py
==============================================================================
--- py/dist/py/test/rsession/rsync.py	(original)
+++ py/dist/py/test/rsession/rsync.py	Tue Jan 16 18:46:41 2007
@@ -86,8 +86,9 @@
                         # ! there is a reason for the interning:
                         # sharing multiple copies of the file's data
                         data = intern(data)
-                        #print channel.gateway.getremoteaddress(),
-                        #print '/'.join(modified_rel_path)
+                        print '%s <= %s' % (
+                            channel.gateway._getremoteaddress(),
+                            modified_rel_path)
                     channel.send(data)
                     del data
                 else:


More information about the py-svn mailing list