Fixed import and coverity issue in rml_post.

This commit is contained in:
Markus Lampert
2018-07-12 20:23:32 -07:00
committed by Yorik van Havre
parent 7e781bcfd0
commit 07d1abb387

View File

@@ -36,7 +36,7 @@ http://paulbourke.net/dataformats/hpgl/
import FreeCAD
import Part
import PostUtils
import PathScripts.PostUtils as PostUtils
# to distinguish python built-in open function from the one declared below
if open.__module__ == '__builtin__':
@@ -210,8 +210,6 @@ def convertgcode(cmd, args, state):
else:
raise NotImplementedError("rml_post: GCode command %s not understood" % (cmd,))
raise Exception("should not be reached. cmd=%s" % (cmd,))
def parse(inputstring):
"parse(inputstring): returns a parsed output string"