diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2011-11-21 13:48:13 +0100 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2011-11-23 22:21:35 +0100 |
commit | b08458f3c081edfc0549ae59187c1f6a5aed809e (patch) | |
tree | 4ac0c6694cb86ab04dc3ac725db7ef483f22ee45 | |
parent | fc734e8d9f9280f0416f6677befd6b7289e21586 (diff) | |
download | miniircd-b08458f3c081edfc0549ae59187c1f6a5aed809e.tar.gz miniircd-b08458f3c081edfc0549ae59187c1f6a5aed809e.zip |
Flush after writing info/debug messages
-rwxr-xr-x | miniircd | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |