Fixed import and coverity issue in rml_post.
This commit is contained in:
committed by
Yorik van Havre
parent
7e781bcfd0
commit
07d1abb387
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user