Commit 9eeb4ba2 authored by tysand@chromium.org's avatar tysand@chromium.org

Python webserver output flushing.



Added flushing to python server to fix issue in Visual Studio output window.


BUG=136414
TEST=


Review URL: https://chromiumcodereview.appspot.com/10821046

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148668 0039d316-1c4b-4281-b951-d872f2087c98
parent db3cc3ee
......@@ -67,6 +67,8 @@ class QuittableHTTPServer(SocketServer.ThreadingMixIn,
self.is_running = True
self.timeout = timeout
while self.is_running:
sys.stderr.flush()
sys.stdout.flush()
self.handle_request()
def shutdown(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment