<div dir="ltr">Dear Christos,<div>I went over your code and in addition to the try: without except you had multiple issues with indentation which I have attempted to correct (but I could have also changed the logic in your program).  Also, I refactored your two trys into one try that goes over the whole loop. I assume this was also written with python 2.7 and you had print statements that were using python 3.x print syntax. </div><div>Sincerely,</div><div>Joshua herman</div><br><div class="gmail_quote"><div dir="ltr">On Sat, Oct 20, 2018 at 1:39 PM Carl Karsten <<a href="mailto:carl@personnelware.com">carl@personnelware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> 87         try:<br>
<br>
doesn't have an except.  which is an error.<br>
On Sat, Oct 20, 2018 at 1:19 PM Christos Hayward<br>
<<a href="mailto:christos.jonathan.hayward@gmail.com" target="_blank">christos.jonathan.hayward@gmail.com</a>> wrote:<br>
><br>
> 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).<br>
><br>
> 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.<br>
><br>
> What am I doing to trigger a reported IndentationError?<br>
><br>
><br>
> Thanks,<br>
> --<br>
><br>
> Christos Hayward, author, The Best of Jonathan's Corner<br>
><br>
> _______________________________________________<br>
> Chicago mailing list<br>
> <a href="mailto:Chicago@python.org" target="_blank">Chicago@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/chicago" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/chicago</a><br>
<br>
<br>
<br>
-- <br>
Carl K<br>
_______________________________________________<br>
Chicago mailing list<br>
<a href="mailto:Chicago@python.org" target="_blank">Chicago@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/chicago" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/chicago</a><br>
</blockquote></div></div>