[py-svn] r57480 - py/trunk/py/path/gateway

hpk at codespeak.net hpk at codespeak.net
Tue Aug 19 23:42:15 CEST 2008


Author: hpk
Date: Tue Aug 19 23:42:13 2008
New Revision: 57480

Modified:
   py/trunk/py/path/gateway/channeltest.py
   py/trunk/py/path/gateway/channeltest2.py
Log:
fix changed namespace


Modified: py/trunk/py/path/gateway/channeltest.py
==============================================================================
--- py/trunk/py/path/gateway/channeltest.py	(original)
+++ py/trunk/py/path/gateway/channeltest.py	Tue Aug 19 23:42:13 2008
@@ -53,7 +53,7 @@
 if __name__ == '__main__':
     import py
     gw = py.execnet.PopenGateway()
-    channel = gw.channelfactory.new()
+    channel = gw._channelfactory.new()
     srv = PathServer(channel)
     c = gw.remote_exec("""
         import remotepath

Modified: py/trunk/py/path/gateway/channeltest2.py
==============================================================================
--- py/trunk/py/path/gateway/channeltest2.py	(original)
+++ py/trunk/py/path/gateway/channeltest2.py	Tue Aug 19 23:42:13 2008
@@ -14,7 +14,7 @@
 #gw = py.execnet.SshGateway('codespeak.net')
 gw = py.execnet.PopenGateway()
 c = gw.remote_exec(SRC)
-subchannel = gw.channelfactory.new()
+subchannel = gw._channelfactory.new()
 c.send(subchannel)
 
 p = RemotePath(subchannel, c.receive())



More information about the pytest-commit mailing list