summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarc Abramowitz <marc@marc-abramowitz.com>2015-05-11 08:07:40 -0700
committerMarc Abramowitz <marc@marc-abramowitz.com>2015-05-11 08:07:40 -0700
commitc54025748ed72b00e239379b5ebf7ca35cdafcb4 (patch)
tree1f24e882b8ec39bdab26ab3d16013a37c158c9c2 /docs
parent613c3a40b2c36f1c87c7ad5c04cd367361534c8b (diff)
downloadpaste-c54025748ed72b00e239379b5ebf7ca35cdafcb4.tar.gz
Don't display invalid error message when socket in use
Previously, when the listening socket was already in use, this error message was displayed: ... File "/private/tmp/n/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/httpserver.py", line 1106, in server_close self.thread_pool.shutdown(60) AttributeError: 'WSGIThreadPoolServer' object has no attribute 'thread_pool' We prevent this by checking if `self` has a `thread_pool` attribute before trying to reference it. Fixes issue #5 (https://bitbucket.org/ianb/paste/issue/5/invalid-error-message-when-the-socket-is)
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions