[mod_python] Re: Indentation problems with psp

Ben Barker benjamin.barker at gmail.com
Fri Dec 22 06:59:37 EST 2006


...I've just tried using the .psp_ debugging option to help solve my
problem. However, it will only generate cod to examine when there are
no errors, which is precisely when I don't need it...

Is there a way around this?

Cheers,

Ben

On 22/12/06, Ben Barker <benjamin.barker at gmail.com> wrote:
> Hi, I've been having some indentation problems with psp that I can't
> get my head arouind. I get indentation errors for the for loop, but I
> can't work out why...
>
> Any thoughts?
>
> Cheers,
>
> Ben
>
> <%
> if os.path.exists("boroughs.txt"):
>         #Start indentation
>         %><select name="Borough"><%
>
>         for item in sorted:
>                 #start indentation
>                 %><option value="<%= item%>"> <%= item%>-<%= lookup[item]%>
> <%
> #End if statement
> %>
>


More information about the Mod_python mailing list