Skip to content
Snippets Groups Projects
Commit 070f9a31 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

SW-378: processed review comment: use is None instead of == None

parent b5d56a74
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,7 @@ def get_cep4_cpu_nodes_loads(node_nrs=None):
:param node_nrs: optional list of node numbers to get the load for. If None, then all available nodes are queried.
:return: dict with node_nr -> load mapping
"""
if node_nrs == None:
if node_nrs is None:
node_nrs = get_cep4_available_cpu_nodes()
procs = {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment