mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 14:23:14 +08: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
@ -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…
x
Reference in New Issue
Block a user