From 07d1abb387c6b62093375fa7df99c92f2aaacda0 Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Thu, 12 Jul 2018 20:23:32 -0700 Subject: [PATCH] Fixed import and coverity issue in rml_post. --- src/Mod/Path/PathScripts/post/rml_post.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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"