[rhmessaging-commits] rhmessaging commits: r4292 - mgmt/newdata/cumin/python/cumin.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Wed Sep 15 12:44:44 EDT 2010


Author: eallen
Date: 2010-09-15 12:44:44 -0400 (Wed, 15 Sep 2010)
New Revision: 4292

Modified:
   mgmt/newdata/cumin/python/cumin/session.py
Log:
Fix BZ 634180 and 630853: Exclude reference attributes from the constructed object id for qmf v1 objects. Needed since the class attribute names for references don't match the object attribute.

Modified: mgmt/newdata/cumin/python/cumin/session.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/session.py	2010-09-15 14:45:06 UTC (rev 4291)
+++ mgmt/newdata/cumin/python/cumin/session.py	2010-09-15 16:44:44 UTC (rev 4292)
@@ -86,7 +86,7 @@
             else:
                 key_args = [getattr(obj, x.name)
                             for x in obj._class._attributes
-                            if x.index]
+                            if x.index and not x.references]
                 key = ",".join(key_args)
 
             id_args = (obj._class._package._name, obj._class._name.lower(), key)



More information about the rhmessaging-commits mailing list