From 4487df35ded2a9c8298fe2a642398a1900ccf640 Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 28 Sep 2013 15:57:02 +0200 Subject: [PATCH] + Fix syntax error (patch from Anton Gladky) --- src/Mod/Draft/importOCA.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Draft/importOCA.py b/src/Mod/Draft/importOCA.py index 1bdc679ad..a4053eb9e 100644 --- a/src/Mod/Draft/importOCA.py +++ b/src/Mod/Draft/importOCA.py @@ -258,13 +258,13 @@ def export(exportList,filename): oca.write("# edges\r\n") count = 1 for e in edges: - if DraftGeomUtils.geomType(e) == "Line"): + if DraftGeomUtils.geomType(e) == "Line": oca.write("L"+str(count)+"=") oca.write(writepoint(e.Vertexes[0].Point)) oca.write(" ") oca.write(writepoint(e.Vertexes[-1].Point)) oca.write("\r\n") - elif DraftGeomUtils.geomType(e) == "Circle"): + elif DraftGeomUtils.geomType(e) == "Circle": if (len(e.Vertexes) > 1): oca.write("C"+str(count)+"=ARC ") oca.write(writepoint(e.Vertexes[0].Point))