diff --git a/src/Mod/Path/PathScripts/post/rml_post.py b/src/Mod/Path/PathScripts/post/rml_post.py index 470c86a93d..1efe599c2f 100644 --- a/src/Mod/Path/PathScripts/post/rml_post.py +++ b/src/Mod/Path/PathScripts/post/rml_post.py @@ -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"