Skip to content

Commit cf48fdd

Browse files
committed
doc/_ext: mute syntax check warn E711
According to E711 of PEP0008: When compare to None, should use 'is' instead of '==' Signed-off-by: Drunkard Zhang <[email protected]>
1 parent 99f58a5 commit cf48fdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/_ext/ceph_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def __init__(self, type, name,
9494
self.goodchars = goodchars
9595
self.positional = positional != 'false'
9696

97-
assert who == None
97+
assert who is None
9898

9999
def help(self):
100100
advanced = []

0 commit comments

Comments
 (0)