svgui/pyjs/pyjs.py
changeset 1752 d14ff9d7eb76
parent 1749 d73b64672238
child 1754 63f4af6bf6d9
--- a/svgui/pyjs/pyjs.py	Wed Aug 16 12:57:52 2017 +0300
+++ b/svgui/pyjs/pyjs.py	Wed Aug 16 13:01:13 2017 +0300
@@ -874,8 +874,8 @@
         if staticmethod:
             staticfunc = ast.Function([], class_name_+"."+node.name, node.argnames, node.defaults, node.flags, node.doc, node.code, node.lineno)
             self._function(staticfunc, True)
-            print >>self.output, "    " + UU+class_name_ + ".prototype.__class__." + node.name + " = " + class_name_+"."+node.name+";";
-            print >>self.output, "    " + UU+class_name_ + ".prototype.__class__." + node.name + ".static_method = true;";
+            print >>self.output, "    " + UU+class_name_ + ".prototype.__class__." + node.name + " = " + class_name_+"."+node.name+";"
+            print >>self.output, "    " + UU+class_name_ + ".prototype.__class__." + node.name + ".static_method = true;"
             return
         else:
             if len(arg_names) == 0: