[Checkins] SVN: zc.monitor/trunk/src/zc/monitor/__init__.py Get rid of deprecation warning.

Jim Fulton jim at zope.com
Sat Dec 10 17:27:23 UTC 2011


Log message for revision 123666:
  Get rid of deprecation warning.
  

Changed:
  U   zc.monitor/trunk/src/zc/monitor/__init__.py

-=-
Modified: zc.monitor/trunk/src/zc/monitor/__init__.py
===================================================================
--- zc.monitor/trunk/src/zc/monitor/__init__.py	2011-12-10 17:20:58 UTC (rev 123665)
+++ zc.monitor/trunk/src/zc/monitor/__init__.py	2011-12-10 17:27:23 UTC (rev 123666)
@@ -32,7 +32,7 @@
     def __init__(self, connection):
         connection = zc.ngi.adapters.Lines(connection)
         self.connection = connection
-        connection.setHandler(self)
+        connection.set_handler(self)
         self.mode = QUIT_MARKER
 
     def handle_input(self, connection, data):



More information about the checkins mailing list