goddamn significant whitepsace in python.  nested a loop too deep, now all is happiness.