[svn r57480] fix changed namespace

--HG--
branch : trunk
This commit is contained in:
hpk 2008-08-19 23:42:13 +02:00
parent c32fa7b4f3
commit 353ce8d0ce
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ class PathServer:
if __name__ == '__main__': if __name__ == '__main__':
import py import py
gw = py.execnet.PopenGateway() gw = py.execnet.PopenGateway()
channel = gw.channelfactory.new() channel = gw._channelfactory.new()
srv = PathServer(channel) srv = PathServer(channel)
c = gw.remote_exec(""" c = gw.remote_exec("""
import remotepath import remotepath

View File

@ -14,7 +14,7 @@ channel.send(srv.p2c(py.path.local("/tmp")))
#gw = py.execnet.SshGateway('codespeak.net') #gw = py.execnet.SshGateway('codespeak.net')
gw = py.execnet.PopenGateway() gw = py.execnet.PopenGateway()
c = gw.remote_exec(SRC) c = gw.remote_exec(SRC)
subchannel = gw.channelfactory.new() subchannel = gw._channelfactory.new()
c.send(subchannel) c.send(subchannel)
p = RemotePath(subchannel, c.receive()) p = RemotePath(subchannel, c.receive())