Explorar o código

Don't check whether we can write on a listener

Nick Mathewson %!s(int64=6) %!d(string=hai) anos
pai
achega
0687600c10
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      lib/chutney/Traffic.py

+ 3 - 0
lib/chutney/Traffic.py

@@ -125,6 +125,9 @@ class Listener(asyncore.dispatcher):
         self.listen(0)
         self.tt = tt
 
+    def writable(self):
+        return False
+
     def handle_accept(self):
         # deprecated in python 3.2
         pair = self.accept()