diff options
-rwxr-xr-x | cmd/dbufstat/dbufstat.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/dbufstat/dbufstat.in b/cmd/dbufstat/dbufstat.in index 1d4eb39d7..82250353f 100755 --- a/cmd/dbufstat/dbufstat.in +++ b/cmd/dbufstat/dbufstat.in @@ -131,7 +131,7 @@ elif sys.platform.startswith("linux"): def print_incompat_helper(incompat): cnt = 0 for key in sorted(incompat): - if cnt is 0: + if cnt == 0: sys.stderr.write("\t") elif cnt > 8: sys.stderr.write(",\n\t") @@ -662,7 +662,7 @@ def main(): if not ifile: ifile = default_ifile() - if ifile is not "-": + if ifile != "-": try: tmp = open(ifile, "r") sys.stdin = tmp |