98 self.translate = self.__identityTranslation |
98 self.translate = self.__identityTranslation |
99 |
99 |
100 # attribute to remember the name of the executed script |
100 # attribute to remember the name of the executed script |
101 self.__scriptName = "" |
101 self.__scriptName = "" |
102 |
102 |
103 def __identityTranslation(self, fn, remote2local=True): # noqa: U100 |
103 def __identityTranslation(self, fn, remote2local=True): # noqa: U-100 |
104 """ |
104 """ |
105 Private method to perform the identity path translation. |
105 Private method to perform the identity path translation. |
106 |
106 |
107 @param fn filename to be translated |
107 @param fn filename to be translated |
108 @type str |
108 @type str |
1666 continue |
1666 continue |
1667 |
1667 |
1668 jsonStr = data.decode("utf-8", "backslashreplace") |
1668 jsonStr = data.decode("utf-8", "backslashreplace") |
1669 |
1669 |
1670 logging.getLogger(__name__).debug("<Debug-Server> %s", jsonStr) |
1670 logging.getLogger(__name__).debug("<Debug-Server> %s", jsonStr) |
1671 ##print("Server: ", jsonStr) ## debug # __IGNORE_WARNING_M891__ |
1671 ##print("Server: ", jsonStr) ## debug # __IGNORE_WARNING_M-891__ |
1672 |
1672 |
1673 if jsonStr: |
1673 if jsonStr: |
1674 self.handleJsonCommand(jsonStr, sock) |
1674 self.handleJsonCommand(jsonStr, sock) |
1675 |
1675 |
1676 def handleJsonCommand(self, jsonStr, sock): |
1676 def handleJsonCommand(self, jsonStr, sock): |