Skip to content

Commit cdbed3b

Browse files
python linter: literal comparison extras/quota/xattr_analysis.py
This series aim to reduce the python linter build logs. Changes a comparison to literal value done with "is" to "==". Signed-off-by: Thales Antunes de Oliveira Barretto <[email protected]> # extras/quota/xattr_analysis.py | 2 +- # 1 file changed, 1 insertion(+), 1 deletion(-) # extras/quota/xattr_analysis.py | 2 +- # 1 file changed, 1 insertion(+), 1 deletion(-)
1 parent 74108ee commit cdbed3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extras/quota/xattr_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def get_quota_xattr_brick():
3636
filename = k
3737
print("=====" + filename + "=======")
3838
xdict = {}
39-
elif k is "":
39+
elif k == "":
4040
pass
4141
else:
4242
print(xattr)

0 commit comments

Comments
 (0)