Debugger/DebuggerInterfacePython3.py

changeset 3345
071afe8be2a1
parent 3190
a9a94491c4fd
child 3357
2390df6f42ba
--- a/Debugger/DebuggerInterfacePython3.py	Fri Mar 07 19:20:36 2014 +0100
+++ b/Debugger/DebuggerInterfacePython3.py	Sat Mar 08 20:09:41 2014 +0100
@@ -379,8 +379,8 @@
         if self.qsock is not None:
             return False
         
-        sock.disconnected[()].connect(self.debugServer.startClient)
-        sock.readyRead[()].connect(self.__parseClientLine)
+        sock.disconnected.connect(self.debugServer.startClient)
+        sock.readyRead.connect(self.__parseClientLine)
         
         self.qsock = sock
         
@@ -410,7 +410,7 @@
         
         # do not want any slots called during shutdown
         self.qsock.disconnected.disconnect(self.debugServer.startClient)
-        self.qsock.readyRead[()].disconnect(self.__parseClientLine)
+        self.qsock.readyRead.disconnect(self.__parseClientLine)
         
         # close down socket, and shut down client as well.
         self.__sendCommand('{0}\n'.format(DebugProtocol.RequestShutdown))

eric ide

mercurial