Fixed the last socket change.

Sat, 30 May 2015 20:16:47 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 30 May 2015 20:16:47 +0200
changeset 4270
fd51fbdfdd69
parent 4269
5ba44a2de31a
child 4271
480434472ac1

Fixed the last socket change.

DebugClients/Python/DebugClientBase.py file | annotate | diff | comparison | revisions
DebugClients/Python3/DebugClientBase.py file | annotate | diff | comparison | revisions
--- a/DebugClients/Python/DebugClientBase.py	Sat May 30 13:27:43 2015 +0200
+++ b/DebugClients/Python/DebugClientBase.py	Sat May 30 20:16:47 2015 +0200
@@ -1131,6 +1131,8 @@
         """
         if remoteAddress is None:
             remoteAddress = "127.0.0.1"
+        elif "@@i" in remoteAddress:
+            remoteAddress = remoteAddress.split("@@i")[0]
         sock = socket.create_connection((remoteAddress, port))
 
         self.readstream = AsyncFile(sock, sys.stdin.mode, sys.stdin.name)
--- a/DebugClients/Python3/DebugClientBase.py	Sat May 30 13:27:43 2015 +0200
+++ b/DebugClients/Python3/DebugClientBase.py	Sat May 30 20:16:47 2015 +0200
@@ -1142,6 +1142,8 @@
         """
         if remoteAddress is None:
             remoteAddress = "127.0.0.1"
+        elif "@@i" in remoteAddress:
+            remoteAddress = remoteAddress.split("@@i")[0]
         sock = socket.create_connection((remoteAddress, port))
 
         self.readstream = AsyncFile(sock, sys.stdin.mode, sys.stdin.name)

eric ide

mercurial