We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1d9228 commit 3075b29Copy full SHA for 3075b29
cmd/dbufstat/dbufstat.in
@@ -131,7 +131,7 @@ elif sys.platform.startswith("linux"):
131
def print_incompat_helper(incompat):
132
cnt = 0
133
for key in sorted(incompat):
134
- if cnt is 0:
+ if cnt == 0:
135
sys.stderr.write("\t")
136
elif cnt > 8:
137
sys.stderr.write(",\n\t")
@@ -662,7 +662,7 @@ def main():
662
if not ifile:
663
ifile = default_ifile()
664
665
- if ifile is not "-":
+ if ifile != "-":
666
try:
667
tmp = open(ifile, "r")
668
sys.stdin = tmp
0 commit comments