summaryrefslogtreecommitdiff
path: root/cpp/bindings/qmf2/examples/python/find_agents.py
diff options
context:
space:
mode:
authorDarryl L. Pierce <mcpierce@apache.org>2013-10-15 13:10:41 +0000
committerDarryl L. Pierce <mcpierce@apache.org>2013-10-15 13:10:41 +0000
commit9b49ca12f40ce91229c5162236f73dc85ffc99cd (patch)
tree6b4df8dfa6d963f471f95b583765c2d21c85f822 /cpp/bindings/qmf2/examples/python/find_agents.py
parentec9ada18c624ee40349efee295c6e12181dab13e (diff)
downloadqpid-python-9b49ca12f40ce91229c5162236f73dc85ffc99cd.tar.gz
QPID-5231: Fix QMF code to use qpid_messaging rather than cqpid.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1532324 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qmf2/examples/python/find_agents.py')
-rw-r--r--cpp/bindings/qmf2/examples/python/find_agents.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/bindings/qmf2/examples/python/find_agents.py b/cpp/bindings/qmf2/examples/python/find_agents.py
index 5fd71b3f1c..852f23f747 100644
--- a/cpp/bindings/qmf2/examples/python/find_agents.py
+++ b/cpp/bindings/qmf2/examples/python/find_agents.py
@@ -17,7 +17,7 @@
# under the License.
#
-import cqpid
+import qpid_messaging
import qmf2
class FindAgents(qmf2.ConsoleHandler):
@@ -45,7 +45,7 @@ class FindAgents(qmf2.ConsoleHandler):
url = "localhost"
options = ""
-connection = cqpid.Connection(url, options)
+connection = qpid_messaging.Connection(url, options)
connection.open()
session = qmf2.ConsoleSession(connection)