[rhmessaging-commits] rhmessaging commits: r4300 - mgmt/newdata/rosemary/python/rosemary.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Thu Sep 16 14:29:02 EDT 2010


Author: eallen
Date: 2010-09-16 14:29:02 -0400 (Thu, 16 Sep 2010)
New Revision: 4300

Modified:
   mgmt/newdata/rosemary/python/rosemary/model.py
Log:
Fix BZ 633946. Make class reference attribute name match the object's attribute name

Modified: mgmt/newdata/rosemary/python/rosemary/model.py
===================================================================
--- mgmt/newdata/rosemary/python/rosemary/model.py	2010-09-16 15:28:26 UTC (rev 4299)
+++ mgmt/newdata/rosemary/python/rosemary/model.py	2010-09-16 18:29:02 UTC (rev 4300)
@@ -589,6 +589,7 @@
             raise
 
         name = "_%s_id" % self.name
+        self.name = name
 
         col = SqlColumn(self.cls.sql_table, name, sql_int8)
         col.foreign_key_column = self.that_cls.sql_table.key_column



More information about the rhmessaging-commits mailing list