This looks like a left over debugging statement.  Especially since you commented out the assignment of "foo" above (line 1163).  There is also the print statements on lines 949 and 955.