Debugger/DebugServer.py

changeset 3032
927a2f8b3669
parent 3021
801289962f4e
child 3060
5883ce99ee12
child 3160
209a07d7e401
--- a/Debugger/DebugServer.py	Sat Oct 19 11:14:51 2013 +0200
+++ b/Debugger/DebugServer.py	Sat Oct 19 11:49:31 2013 +0200
@@ -243,7 +243,7 @@
                         if addressEntry.ip().toString().lower() == \
                                 address.lower():
                             return networkInterface.humanReadableName(), \
-                                    networkInterface.index()
+                                networkInterface.index()
         
         return "", 0
         
@@ -291,8 +291,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[:]
@@ -637,8 +637,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