Debugger/DebuggerInterfaceRuby.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3021
801289962f4e
child 3060
5883ce99ee12
--- a/Debugger/DebuggerInterfaceRuby.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/Debugger/DebuggerInterfaceRuby.py	Fri Nov 01 15:48:48 2013 +0100
@@ -146,8 +146,8 @@
         interpreter = Preferences.getDebugger("RubyInterpreter")
         if interpreter == "":
             interpreter = "/usr/bin/ruby"
-        debugClient = os.path.join(getConfig('ericDir'),
-            "DebugClients", "Ruby", "DebugClient.rb")
+        debugClient = os.path.join(
+            getConfig('ericDir'), "DebugClients", "Ruby", "DebugClient.rb")
         
         redirect = str(Preferences.getDebugger("RubyRedirect"))
         
@@ -164,7 +164,8 @@
                 args[0] = Utilities.getExecutablePath(args[0])
                 process = self.__startProcess(args[0], args[1:])
                 if process is None:
-                    E5MessageBox.critical(None,
+                    E5MessageBox.critical(
+                        None,
                         self.trUtf8("Start Debugger"),
                         self.trUtf8(
                             """<p>The debugger backend could not be"""
@@ -210,18 +211,21 @@
                 args[0] = Utilities.getExecutablePath(args[0])
                 process = self.__startProcess(args[0], args[1:], clientEnv)
                 if process is None:
-                    E5MessageBox.critical(None,
+                    E5MessageBox.critical(
+                        None,
                         self.trUtf8("Start Debugger"),
                         self.trUtf8(
                             """<p>The debugger backend could not be"""
                             """ started.</p>"""))
                 return process, self.__isNetworked
         
-        process = self.__startProcess(interpreter,
+        process = self.__startProcess(
+            interpreter,
             [debugClient, str(port), redirect, ipaddr],
             clientEnv)
         if process is None:
-            E5MessageBox.critical(None,
+            E5MessageBox.critical(
+                None,
                 self.trUtf8("Start Debugger"),
                 self.trUtf8(
                     """<p>The debugger backend could not be started.</p>"""))
@@ -260,7 +264,8 @@
                 args[0] = Utilities.getExecutablePath(args[0])
                 process = self.__startProcess(args[0], args[1:])
                 if process is None:
-                    E5MessageBox.critical(None,
+                    E5MessageBox.critical(
+                        None,
                         self.trUtf8("Start Debugger"),
                         self.trUtf8(
                             """<p>The debugger backend could not be"""
@@ -306,18 +311,21 @@
                 args[0] = Utilities.getExecutablePath(args[0])
                 process = self.__startProcess(args[0], args[1:], clientEnv)
                 if process is None:
-                    E5MessageBox.critical(None,
+                    E5MessageBox.critical(
+                        None,
                         self.trUtf8("Start Debugger"),
                         self.trUtf8(
                             """<p>The debugger backend could not be"""
                             """ started.</p>"""))
                 return process, self.__isNetworked
         
-        process = self.__startProcess(interpreter,
+        process = self.__startProcess(
+            interpreter,
             [debugClient, str(port), redirect, ipaddr],
             clientEnv)
         if process is None:
-            E5MessageBox.critical(None,
+            E5MessageBox.critical(
+                None,
                 self.trUtf8("Start Debugger"),
                 self.trUtf8(
                     """<p>The debugger backend could not be started.</p>"""))

eric ide

mercurial