mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Use is not operator rather than not ...is
This is advocated by both PEP8 and the Google Python Style Guide
This commit is contained in:
parent
2f9e5b00bb
commit
d65e198e8c
1 changed files with 1 additions and 1 deletions
|
@ -703,7 +703,7 @@ class X3DReader(MeshReader):
|
||||||
for c in node:
|
for c in node:
|
||||||
if c.tag == "Coordinate":
|
if c.tag == "Coordinate":
|
||||||
c = self.resolveDefUse(c)
|
c = self.resolveDefUse(c)
|
||||||
if not c is None:
|
if c is not None:
|
||||||
pt = c.attrib.get("point")
|
pt = c.attrib.get("point")
|
||||||
if pt:
|
if pt:
|
||||||
# allow the list of float values in 'point' attribute to
|
# allow the list of float values in 'point' attribute to
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue