[py-svn] r38197 - py/trunk/py/test/rsession

hpk at codespeak.net hpk at codespeak.net
Thu Feb 8 20:11:16 CET 2007


Author: hpk
Date: Thu Feb  8 20:10:58 2007
New Revision: 38197

Modified:
   py/trunk/py/test/rsession/hostmanage.py
   py/trunk/py/test/rsession/reporter.py
Log:
slight reporting fix


Modified: py/trunk/py/test/rsession/hostmanage.py
==============================================================================
--- py/trunk/py/test/rsession/hostmanage.py	(original)
+++ py/trunk/py/test/rsession/hostmanage.py	Thu Feb  8 20:10:58 2007
@@ -95,7 +95,7 @@
         if host.hostname == "localhost" and remotepath == self._sourcedir:
             self._synced[key] = True
         synced = key in self._synced 
-        reporter(repevent.HostRSyncing(host, self._sourcedir, 
+        reporter(repevent.HostRSyncing(host, py.path.local(self._sourcedir), 
                                        remotepath, synced))
         def hostrsynced(host=host):
             reporter(repevent.HostRSyncRootReady(host, self._sourcedir))

Modified: py/trunk/py/test/rsession/reporter.py
==============================================================================
--- py/trunk/py/test/rsession/reporter.py	(original)
+++ py/trunk/py/test/rsession/reporter.py	Thu Feb  8 20:10:58 2007
@@ -65,7 +65,7 @@
                         hostrepr, item.remotepath)
             else: 
                 print "%15s: skip duplicate rsync to %r" % (
-                        hostrepr, str(item.root))
+                        hostrepr, item.root)
         else:
             print "%15s: rsync %r to remote %r" % (hostrepr, 
                                                    item.root.basename, 



More information about the pytest-commit mailing list