You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running mlx_fs_dump only python 3.9.5, I see the following syntax warnings:
# ./mlx_fs_dump -v
./mlx_fs_dump:294: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if (i % 2) and (cr is not "0"):
./mlx_fs_dump:306: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if node.dst_type is not "0":
./mlx_fs_dump:310: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if node.dst_vhca_id_valid is not 0:
./mlx_fs_dump:319: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if (i % 2) and (cr is not "0"):
./mlx_fs_dump:324: SyntaxWarning: "is" with a literal. Did you mean "=="?
if cr is "IPv4":
./mlx_fs_dump:340: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if index is not -1:
./mlx_fs_dump:351: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if index is not -1:
./mlx_fs_dump:446: SyntaxWarning: "is" with a literal. Did you mean "=="?
if match_enable is "NO_MATCH":
usage: mlx_fs_dump [-h] -d DEVICE [-g GVMI] [-c COLOR] [-f IN_FILE]
mlx_fs_dump: error: the following arguments are required: -d
Solution was to adjust all is not to != and all is to ==.
The text was updated successfully, but these errors were encountered:
When running mlx_fs_dump only python 3.9.5, I see the following syntax warnings:
Solution was to adjust all
is not
to!=
and allis
to==
.The text was updated successfully, but these errors were encountered: