Draft: Fix 'testing inequality to None' syntax (#7275)

* Draft: Fix 'testing inequality to None' syntax 

- Substitute `is not None` for `!= None`
- Trim trailing whitespace on touched files
This commit is contained in:
luzpaz
2022-07-29 18:26:56 -04:00
committed by GitHub
parent 922f6b83d6
commit 95070bded4
10 changed files with 69 additions and 69 deletions

View File

@@ -153,7 +153,7 @@ class Dimension(gui_base_original.Creator):
if v.Point == edge.Vertexes[1].Point:
v2 = i
if v1 != None and v2 != None: # note that v1 or v2 can be zero
if v1 is not None and v2 is not None: # note that v1 or v2 can be zero
self.link = [sel_object.Object, v1, v2]
elif DraftGeomUtils.geomType(edge) == "Circle":
self.node.extend([edge.Curve.Center,