Changeset 0a4221f55c4a…
Parent 9b7be6e61a1c…
by Benjamin Pollack
Changes to one file · Browse files at 0a4221f55c4a Showing diff from parent 9b7be6e61a1c Diff from another changeset...
@@ -53,7 +53,8 @@ def log(self, client, s):
if self.logging:
who = '%s:%s' % client.socket.getpeername() if client else 'SERVER'
- print '%s: %s' % (who, s)
+ sys.stdout.write('%s: %s\n' % (who, s))
+ sys.stdout.flush()
def select(self, client, db):
if db not in self.tables:
|
Loading...