changeset 108:2a720491d903

{{{super()}}} only works for new-style classes, which {{{asyncore.dispatcher}}} is not.
author cmlenz
date Wed, 03 Aug 2005 11:52:39 +0000
parents 8b613e24cc34
children 5bf22bb87915
files bitten/util/beep.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/util/beep.py
+++ b/bitten/util/beep.py
@@ -107,7 +107,7 @@
     communication with the connected peer.
     """
     def __init__(self, ip, port):
-        super(Listener, self).__init__(self)
+        asyncore.dispatcher.__init__(self)
         self.create_socket(socket.AF_INET, socket.SOCK_STREAM)
         self.set_reuse_addr()
         self.bind((ip, port))
Copyright (C) 2012-2017 Edgewall Software