--- a/RefactoringRope/JsonServer.py Wed Dec 30 11:02:11 2020 +0100 +++ b/RefactoringRope/JsonServer.py Tue Mar 16 18:11:29 2021 +0100 @@ -7,13 +7,6 @@ Module implementing the JSON based server base class. """ -from __future__ import unicode_literals -try: - str = unicode # __IGNORE_WARNING__ __IGNORE_EXCEPTION__ -except NameError: - pass - - import json from PyQt5.QtCore import ( @@ -151,8 +144,8 @@ data = connection.readLine() jsonLine = bytes(data).decode("utf-8", 'backslashreplace') - ## print("JSON Server ({0}): {1}".format(self.__name, jsonLine)) - ## this is for debugging only + #- print("JSON Server ({0}): {1}".format(self.__name, jsonLine)) + #- this is for debugging only try: clientDict = json.loads(jsonLine.strip())