summaryrefslogtreecommitdiff
path: root/qpid/cpp/bindings/qmf2/examples/python/agent.py
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/bindings/qmf2/examples/python/agent.py')
-rwxr-xr-xqpid/cpp/bindings/qmf2/examples/python/agent.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/bindings/qmf2/examples/python/agent.py b/qpid/cpp/bindings/qmf2/examples/python/agent.py
index b24890f531..a9f1a14349 100755
--- a/qpid/cpp/bindings/qmf2/examples/python/agent.py
+++ b/qpid/cpp/bindings/qmf2/examples/python/agent.py
@@ -19,7 +19,7 @@
# under the License.
#
-import cqpid
+import qpid_messaging
from qmf2 import *
@@ -34,7 +34,7 @@ class ExampleAgent(AgentHandler):
##
## Create and open a messaging connection to a broker.
##
- self.connection = cqpid.Connection(url, "{reconnect:True}")
+ self.connection = qpid_messaging.Connection(url, "{reconnect:True}")
self.session = None
self.connection.open()