From 353ce8d0ce1e7f295ead62866cbae4675d453928 Mon Sep 17 00:00:00 2001 From: hpk Date: Tue, 19 Aug 2008 23:42:13 +0200 Subject: [PATCH] [svn r57480] fix changed namespace --HG-- branch : trunk --- py/path/gateway/channeltest.py | 2 +- py/path/gateway/channeltest2.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/py/path/gateway/channeltest.py b/py/path/gateway/channeltest.py index fdb46ab9b..07581ebf5 100644 --- a/py/path/gateway/channeltest.py +++ b/py/path/gateway/channeltest.py @@ -53,7 +53,7 @@ class PathServer: 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 diff --git a/py/path/gateway/channeltest2.py b/py/path/gateway/channeltest2.py index f22026d04..79fd2a59a 100644 --- a/py/path/gateway/channeltest2.py +++ b/py/path/gateway/channeltest2.py @@ -14,7 +14,7 @@ channel.send(srv.p2c(py.path.local("/tmp"))) #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())