From 7fef5e45b01eb71bba28aefb7a50be3fcca9345c Mon Sep 17 00:00:00 2001 From: James Bunton Date: Fri, 4 Jul 2008 12:53:53 +1000 Subject: [PATCH] RandomBG: Make Listener non-writeable --- bin/randombg.py | 3 +++ 1 file changed, 3 insertions(+) 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): -- 2.39.2