dabo Commit
Revision 1772
Date: 2006-01-12 09:13:21 -0800 (Thu, 12 Jan 2006)
Author: paul
Changed:
U trunk/dabo/lib/reportWriter.py
Log:
I knew this was a bad idea when I did it, and got burned by it this morning.
There will be a follow-up fix to the designer.
Diff:
Modified: trunk/dabo/lib/reportWriter.py
===================================================================
--- trunk/dabo/lib/reportWriter.py 2006-01-12 05:58:48 UTC (rev 1771)
+++ trunk/dabo/lib/reportWriter.py 2006-01-12 17:13:21 UTC (rev 1772)
@@ -50,15 +50,6 @@
self.reportWriter = reportWriter
self.initPropDefaults()
- def __eq__(self, d):
- # We want empty dicts to compare not-equal. This is for the
designer object
- # tree view: on a new report lots of objects will compare {} ==
{}, resulting
- # in the tree selection not working right.
- if not d and not self and id(d) != id(self):
- return False
- else:
- return super(ReportObject, self).__eq__(d)
-
def initPropDefaults(self):
self.PropDefaults["type"] = ""
self.PropDefaults["comment"] = ""
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev