Debugger/DebuggerInterfaceRuby.py

changeset 3345
071afe8be2a1
parent 3190
a9a94491c4fd
child 3354
8d69c9dfb5e2
diff -r f7a6d271bb40 -r 071afe8be2a1 Debugger/DebuggerInterfaceRuby.py
--- a/Debugger/DebuggerInterfaceRuby.py	Fri Mar 07 19:20:36 2014 +0100
+++ b/Debugger/DebuggerInterfaceRuby.py	Sat Mar 08 20:09:41 2014 +0100
@@ -349,8 +349,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
         
@@ -380,7 +380,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