On Dec 5, 2009, at 7:33 PM, jvandal wrote:

> I sent all of the info from when i tyoed  
> med.py.                        what
> is the initProperties ?
>
> Jacek Kałucki wrote:
>>
>> Użytkownik jvandal napisał:
>>>     from Doctor_Speciality import Doctor_Speciality
>>>   File "C:\dabo-0.9.2-win\dabo\projects\med\biz 
>>> \Doctor_Speciality.py",
>>> line
>>> 6, i
>>> n<module>
>>>     class Doctor_Speciality(Base):
>>>   File "C:\dabo-0.9.2-win\dabo\projects\med\biz 
>>> \Doctor_Speciality.py",
>>> line
>>> 49,
>>> in Doctor_Speciality
>>>     self.addJoin("doctor", "doctor_speciality.specialityfk
>>> =doctor.pkid")
>>> NameError: name 'self' is not defined

        I believe he meant to ask for the source code for the full method  
that contains line 49 in your Doctor_Specialty.py script. From the  
traceback, it looks like the first parameter in that method, which is  
always 'self', was left out.


-- Ed Leafe



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to