From 2f4d53921f56b0d5414ad386fb3a21712d138f2c Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Mon, 17 Jun 2013 22:48:43 +0100 Subject: [PATCH] Remove accidental use of messaging.rpc_server Hmm, maybe this means we should use __all__ to avoid exporting these imports. --- doc/messaging/test-blocking.py | 6 +++--- doc/messaging/test-eventlet.py | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/messaging/test-blocking.py b/doc/messaging/test-blocking.py index 54e5124bf..d1aa344bd 100644 --- a/doc/messaging/test-blocking.py +++ b/doc/messaging/test-blocking.py @@ -19,9 +19,9 @@ class Server(object): self.target = messaging.Target(topic='testtopic', server=transport.conf.host, version='2.5') - self._server = messaging.rpc_server.get_rpc_server(transport, - self.target, - [self]) + self._server = messaging.get_rpc_server(transport, + self.target, + [self]) super(Server, self).__init__() def start(self): diff --git a/doc/messaging/test-eventlet.py b/doc/messaging/test-eventlet.py index 893d224b0..fb8cace93 100644 --- a/doc/messaging/test-eventlet.py +++ b/doc/messaging/test-eventlet.py @@ -23,10 +23,10 @@ class Server(object): self.target = messaging.Target(topic='testtopic', server=transport.conf.host, version='2.5') - self._server = messaging.rpc_server.get_rpc_server(transport, - self.target, - [self], - executor='eventlet') + self._server = messaging.get_rpc_server(transport, + self.target, + [self], + executor='eventlet') super(Server, self).__init__() def start(self):