LGTM: various fixes for using string operator instead of numeric

This commit is contained in:
luz.paz
2019-10-22 10:42:18 -04:00
committed by Yorik van Havre
parent ab9659eefb
commit 30d2e29e0c
23 changed files with 49 additions and 54 deletions

View File

@@ -10,7 +10,7 @@ EndPoint = 2
MiddlePoint = 3
# create a document and a Sketch object
if(App.activeDocument() == None):App.newDocument()
if(App.activeDocument() is None):App.newDocument()
f = App.activeDocument().addObject("Sketcher::SketchObject","Sketch")
@@ -32,5 +32,3 @@ f.Constraints = l
App.activeDocument().recompute()
f.Geometry