Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Date: 2005-03-11 19:50:19 -0700 (Fri, 11 Mar 2005)
New Revision: 2091
Fix a bug in the new AccessorStyle 'properties' setting.
--- Webware/trunk/MiddleKit/Design/SQLPythonGenerator.py 2005-03-12 02:49:32 UTC (rev 2090)
+++ Webware/trunk/MiddleKit/Design/SQLPythonGenerator.py 2005-03-12 02:50:19 UTC (rev 2091)
@@ -53,3 +53,7 @@
self._%(name)s = self._mk_store.fetchObjectsOfClass(%(targetClassName)s, clauses='where %(backRefAttrName)s%(classIdSuffix)s=%%i and %(backRefAttrName)s%(objIdSuffix)s=%%i' %% (self.klass().id(), self.serialNum()))
''' % names)
+ if self.setting('AccessorStyle', 'methods')=='properties':
+ %(name)s = property(%(pyGetName)s)
+''' % names)
Sign up for the SourceForge newsletter: