Update of /cvsroot/webware/Webware/MiddleKit/Core
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12667
Modified Files:
ListAttr.py
Log Message:
Fixed recently introduced bug where 'className' variable was not being set.
Fixes 3 failing test cases.
Index: ListAttr.py
===================================================================
RCS file: /cvsroot/webware/Webware/MiddleKit/Core/ListAttr.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** ListAttr.py 14 Sep 2004 03:04:53 -0000 1.7
--- ListAttr.py 16 Sep 2004 14:36:16 -0000 1.8
***************
*** 51,54 ****
--- 51,55 ----
attr = self._targetKlass.lookupAttr(backRefName, None)
if attr is None:
+ className = self.klass().name()
backRefName = className[0].lower() + className[1:]
self._backRefAttr = backRefName
|