From b08458f3c081edfc0549ae59187c1f6a5aed809e Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Mon, 21 Nov 2011 13:48:13 +0100 Subject: Flush after writing info/debug messages --- miniircd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/miniircd b/miniircd index 9baa6da..f4c98cd 100755 --- a/miniircd +++ b/miniircd @@ -619,10 +619,12 @@ class Server(object): def print_info(self, msg): if self.verbose: print msg + sys.stdout.flush() def print_debug(self, msg): if self.debug: print msg + sys.stdout.flush() def print_error(self, msg): sys.stderr.write("%s\n" % msg) -- cgit v1.2.3