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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user