소스 검색

Don't check whether we can write on a listener

Nick Mathewson 6 년 전
부모
커밋
0687600c10
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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()