[mod_python] Indentation problems with psp

Ben Barker benjamin.barker at gmail.com
Fri Dec 22 06:29:07 EST 2006

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?



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