On Wed, Feb 28, 2007 at 07:11:20PM -0800, Ansel Halliburton wrote:
> AttributeError: 'Operator' object has no attribute 'id'

   You've forgotten to call superclass' _init():

class Operator(InheritableSQLObject):
  
  parameters = MultipleJoin('Parameter')
  
  #def __init__(self, parameters):
  def _init(self, *args, **kw):
    InheritableSQLObject._init(self, *args, **kw)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to