DebugClients/Python/DebugUtilities.py

changeset 5258
cfca063afa07
parent 5178
878ce843ca9f
child 5389
9b1c800daff3
--- a/DebugClients/Python/DebugUtilities.py	Thu Oct 20 19:33:19 2016 +0200
+++ b/DebugClients/Python/DebugUtilities.py	Thu Oct 20 22:54:11 2016 +0200
@@ -7,6 +7,8 @@
 Module implementing utilities functions for the debug client.
 """
 
+import json
+
 #
 # Taken from inspect.py of Python 3.4
 #
@@ -136,8 +138,6 @@
     @return prepared JSON command or response string
     @rtype str
     """
-    import json
-    
     commandDict = {
         "jsonrpc": "2.0",
         "method": method,

eric ide

mercurial