d11wtq/dockerpty — pull request #17 by bfirsh (2014-10-14 16:43:32+00:00)
Title: Fix flags variable being set

If an exception is raised, this is thrown:

UnboundLocalError: local variable 'flags' referenced before assignment