RefactoringRope/JsonServer.py

changeset 347
b5048b5ff454
parent 346
877cac2e8d94
child 353
d38295fd97c2
diff -r 877cac2e8d94 -r b5048b5ff454 RefactoringRope/JsonServer.py
--- 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())

eric ide

mercurial