Skip to content
Snippets Groups Projects
Commit 1c028744 authored by Campbell Barton's avatar Campbell Barton
Browse files

Cleanup: comparisons with None

parent d7d7e9d4
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ if len(sys.argv) >= 2:
if sys.argv[2] == '--base_branch':
base_branch = sys.argv[3]
if mode == None:
if mode is None:
print("Merge or rebase Blender master (or another base branch) into a branch in 3 steps,")
print("to automatically merge clang-format changes.")
print("")
......
......@@ -149,7 +149,7 @@ def benchmarkFile(blender, blendfile, stats):
pipeline_render_time = "N/A"
while True:
line = process.stdout.readline()
if line == b"" and process.poll() != None:
if line == b"" and process.poll() is not None:
break
line = line.decode().strip()
if line == "":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment