On Jun 26, 2007, at 9:35 AM, Diez B. Roggisch wrote: >> I've commented out the following snippet in /Library/Frameworks/ >> Python.framework/Versions/2.4/lib/python2.4/site-packages/ >> TurboJson-1.1-py2.4.egg/turbojson/jsonify.py and it now works, at >> least for my app, but obviously I don't trust this solution that >> much... >> >> #while cls.sqlmeta.parentClass: >> # cls = cls.sqlmeta.parentClass >> # for name in cls.sqlmeta.columns.keys(): >> # if name != 'childName': >> # result[name] = getattr(obj, name) > > It certainly works, but then it won't fulfill it's purpose - to gather > attributes of parent classes. > > As you don't have any InheritedSQLObjects, you won't notice that. > So for now > your solution is fine. I'll try and fix it for a bugfix-release.
That's what I thought. Thanks. P. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

