[mod_python] syntax errors

Graham Dumpleton grahamd at dscpl.com.au
Tue May 9 22:59:38 EDT 2006


Your response returned back to mailing list with additional comment.
Please keep further followups on the mailing list.

David Bear wrote ..
> On Tue, May 09, 2006 at 10:32:59PM -0400, Graham Dumpleton wrote:
> > David Bear wrote ..
> > > indicated that indentation shouldn't be a problem -- and indentation
> > > is consistent. I'm just not seeing the error.
> > > 
> > > There must be something really simple that I'm missing. Any
> > > suggestions?
> > 
> > Replace your four space indent with tabs. PSP is fussy.
> > 
> 
> that wasn't part of the onlamp article;0) Thank you for a quick
> response... now I just need to get emacs to insert tabs when editing
> psp files and stay with spaces on py files;-)

Sorry, it doesn't literally need to be a TAB, it can be 8 spaces as well.

> > Alternatively, read the following:
> > 
> >  http://www.modpython.org/pipermail/mod_python/2005-May/018102.html
> 
> Thanks for the tip.
> 
> > 
> > as to how to include indent hints so you can use four spaces instead.
> > 
> > Graham
> 
> -- 
> David Bear
> phone: 	480-965-8257
> fax: 	480-965-9189
> College of Public Programs/ASU
> Wilson Hall 232
> Tempe, AZ 85287-0803
>  "Beware the IP portfolio, everyone will be suspect of trespassing"


More information about the Mod_python mailing list