summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2010-06-24 18:48:53 +0000
committerTed Ross <tross@apache.org>2010-06-24 18:48:53 +0000
commit90f988a79281e7825c27768495c91fd8fef145fb (patch)
treebc4692fbe5e241ab7323ec11f7eb46c3f2c20220 /extras
parent8ebeb0ed934d9baae9ea72f9ad083605ecda315a (diff)
downloadqpid-python-90f988a79281e7825c27768495c91fd8fef145fb.tar.gz
Handle the case where older versions of the broker supply no delivery-properties to messages
originated from within the broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957676 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'extras')
-rw-r--r--extras/qmf/src/py/qmf/console.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/qmf/src/py/qmf/console.py b/extras/qmf/src/py/qmf/console.py
index af7a895dc4..062cb6f341 100644
--- a/extras/qmf/src/py/qmf/console.py
+++ b/extras/qmf/src/py/qmf/console.py
@@ -2381,7 +2381,7 @@ class Broker(Thread):
#
dp = msg.get("delivery_properties")
rkey = None
- if dp.routing_key:
+ if dp and dp.routing_key:
rkey = dp.routing_key
items = rkey.split('.')
if len(items) >= 4: