Sometimes, we can never reach a piece of legislation and we timeout. We should do a better job logging these pieces of legislation.
The right way to do this is probably changing the print statements to logging statements of different priorities, and have these timeout problems be level WARNING.
Sometimes, we can never reach a piece of legislation and we timeout. We should do a better job logging these pieces of legislation.
The right way to do this is probably changing the print statements to logging statements of different priorities, and have these timeout problems be level WARNING.
http://docs.python.org/2/library/logging.html