Arch: Fix 'testing inequality to None' syntax (#7274)

* Arch: 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:28:20 -04:00
committed by GitHub
parent 1ef31f40f5
commit d35400aae3
8 changed files with 135 additions and 135 deletions

View File

@@ -464,9 +464,9 @@ class Renderer:
else:
if faces.index(f2) < h:
h = faces.index(f2)
if l != None:
if l is not None:
return l + 1
elif h != None:
elif h is not None:
return h
else:
return None