Bugs item #1410910, was opened at 2006-01-20 17:10
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1410910&group_id=74338
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: SQLObject release (specify)
Status: Open
Resolution: None
Priority: 5
Submitted By: jt (jt01)
Assigned to: Nobody/Anonymous (nobody)
Summary: 0.7.0 __getattr__ should raise AttributeError
Initial Comment:
If 'foo' is not an attribute of obj, obj.q.foo should
catch KeyError and raise an AttributeError.
sqlbuilder.py +362
--------------------------------------------------
return self.FieldClass(self.tableName,
self.soClass.sqlmeta.columns[attr].dbName,
attr)
--------------------------------------------------
I suppose some others __getattr__ have the same problem.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1410910&group_id=74338
|