[Chicago] Unexpected indent: secondary damage in syntax error?

Carl Karsten carl at personnelware.com
Sat Oct 20 14:38:03 EDT 2018


 87         try:

doesn't have an except.  which is an error.
On Sat, Oct 20, 2018 at 1:19 PM Christos Hayward
<christos.jonathan.hayward at gmail.com> wrote:
>
> I'm working on a very amateur firewalled CGI script for a friend's pet project, and I am getting an IndentationError on line 106, the line for a closing print statement. If I unindent "print" all the way to the left, the error remains; if I comment out the (multiline) statement, an error is reported at line 112 (the script is 111 lines).
>
> I have looked above line 106 for a syntax error that could be causing secondary damage, and I haven't been able to put my finger on it yet.
>
> What am I doing to trigger a reported IndentationError?
>
>
> Thanks,
> --
>
> Christos Hayward, author, The Best of Jonathan's Corner
>
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> https://mail.python.org/mailman/listinfo/chicago



-- 
Carl K


More information about the Chicago mailing list