From: James Bunton Date: Fri, 4 Jul 2008 02:53:53 +0000 (+1000) Subject: RandomBG: Make Listener non-writeable X-Git-Url: https://code.delx.au/bg-scripts/commitdiff_plain/7fef5e45b01eb71bba28aefb7a50be3fcca9345c?ds=sidebyside RandomBG: Make Listener non-writeable --- diff --git a/bin/randombg.py b/bin/randombg.py index 039b762..dad637d 100755 --- a/bin/randombg.py +++ b/bin/randombg.py @@ -302,6 +302,9 @@ class Listener(asyncore.dispatcher): def handle_accept(self): conn, addr = self.accept() Server(self.cycler, conn, addr) + + def writable(self): + return False def do_server(options, paths):