Re: q exports question

Neil Schemenauer <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
On Wed, Jun 29, 2005 at 02:55:33PM -0500, David Driver wrote:
> class RootDirectory(Directory):
> 
>     _q_exports = ["","AR"]
> 
>     def _q_index [html] (self):
>         '''blablabla'''
> 
>     AR = AR.getRootDir()
> 
> Is the above assignment (AR=AR.GetRootDir()) going to do weird things
> ir is it just assigning an instance variable to the result get root
> dir?

It's actually assigning a class variable.  I don't think it's a
weird thing to do.

  Neil
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.