Re: Question about expression evaluation

2010-11-08 Thread Scott Gould
ly so once a self._contact always a self._contact. (Unless I'm misunderstanding something fundamental, which as an admitted amateur I could well be!) On Nov 8, 11:17 am, Scott Gould wrote: > Hi folks, > > This is a head-scratcher to me. I occasionally get this error: > > --- >

Question about expression evaluation

2010-11-08 Thread Scott Gould
Hi folks, This is a head-scratcher to me. I occasionally get this error: --- File "/var/www/myproj/account/views.py", line 54, in account if request.account.is_instructor and request.account.contact and request.account.contact.relationship.institution_party_number: AttributeError: 'NoneTyp