diff --git a/QA/QA_Common/lib/cep4_utils.py b/QA/QA_Common/lib/cep4_utils.py
index c6ccec46213be98df699fb5b176fa4789da9d48b..66c4c6d44b190f0592084b7475cda16d3d9b8990 100644
--- a/QA/QA_Common/lib/cep4_utils.py
+++ b/QA/QA_Common/lib/cep4_utils.py
@@ -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 = {}