svgui/pyjs/pyjs.py
changeset 1783 3311eea28d56
parent 1782 5b6ad7a7fd9d
child 1785 0ff2a45dcefa
--- a/svgui/pyjs/pyjs.py	Mon Aug 21 21:55:18 2017 +0300
+++ b/svgui/pyjs/pyjs.py	Mon Aug 21 22:41:37 2017 +0300
@@ -20,6 +20,7 @@
 from compiler import ast
 import os
 import copy
+import cStringIO
 
 # the standard location for builtins (e.g. pyjslib) can be
 # over-ridden by changing this.  it defaults to sys.prefix
@@ -1520,9 +1521,6 @@
             raise TranslationError("unsupported type (in expr)", node)
 
 
-import cStringIO
-
-
 def translate(file_name, module_name, debug=False):
     f = file(file_name, "r")
     src = f.read()