Debugger/DebugServer.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3032
927a2f8b3669
child 3065
070b35dde35e
--- a/Debugger/DebugServer.py	Fri Nov 01 15:48:48 2013 +0100
+++ b/Debugger/DebugServer.py	Sun Nov 03 15:58:22 2013 +0100
@@ -262,7 +262,7 @@
                         if addressEntry.ip().toString().lower() == \
                                 address.lower():
                             return networkInterface.humanReadableName(), \
-                                    networkInterface.index()
+                                networkInterface.index()
         
         return "", 0
         
@@ -310,8 +310,8 @@
         
         if shellOnly:
             languages = \
-                [lang for lang in languages \
-                 if self.__clientCapabilities[lang] & 
+                [lang for lang in languages
+                 if self.__clientCapabilities[lang] &
                     DebugClientCapabilities.HasShell]
         
         return languages[:]
@@ -656,8 +656,8 @@
                 self.trUtf8("Connection from illegal host"),
                 self.trUtf8(
                     """<p>A connection was attempted by the illegal host"""
-                    """ <b>{0}</b>. Accept this connection?</p>""")\
-                    .format(peerAddress),
+                    """ <b>{0}</b>. Accept this connection?</p>""")
+                .format(peerAddress),
                 icon=E5MessageBox.Warning)
             if not res:
                 sock.abort()

eric ide

mercurial