You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2010/09/17 15:21:35 UTC

svn commit: r998116 - /qpid/trunk/qpid/tools/src/py/qpid-tool

Author: tross
Date: Fri Sep 17 13:21:35 2010
New Revision: 998116

URL: http://svn.apache.org/viewvc?rev=998116&view=rev
Log:
QPID-2842 - Fixed regression introduced in r992039.
Display correct object index in cases where a V2 agent supplied its own object name.

Modified:
    qpid/trunk/qpid/tools/src/py/qpid-tool

Modified: qpid/trunk/qpid/tools/src/py/qpid-tool
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/tools/src/py/qpid-tool?rev=998116&r1=998115&r2=998116&view=diff
==============================================================================
--- qpid/trunk/qpid/tools/src/py/qpid-tool (original)
+++ qpid/trunk/qpid/tools/src/py/qpid-tool Fri Sep 17 13:21:35 2010
@@ -542,6 +542,8 @@ class QmfData(Console):
       return text
 
   def objectIndex(self, obj):
+    if obj._objectId.isV2:
+      return obj._objectId.getObject()
     result = ""
     first = True
     props = obj.getProperties()



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org