Pull requests

#12 Merged
Repository
xcolour xcolour
Branch
stringio
Repository
ianb ianb
Branch
default

Import StringIO so it can be used.

Author
  1. Matt Singleton
Reviewers
Description

When killing threads, httpserver.py tries to pprint the wsgi environment. If that fails, it prints the traceback to a StringIO for later formatting. StringIO never gets imported in httpserver.py, so if pprint fails, kill_hung_thread throws an exception and the thread never actually gets killed. This patch just adds the missing import.

Comments (0)