threadutil.py changed not var in

This patch changes:

if not var1 in var2

with

if var1 not in var2
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-30 18:54:01 +02:00
parent 239b921056
commit 16f46c81cd

View File

@ -199,7 +199,7 @@ def initInstanceLimit(limitNamespace, instancemax):
global limitedNamespaces
if not limitNamespace in limitedNamespaces:
if limitNamespace not in limitedNamespaces:
limitedNamespaces[limitNamespace] = BoundedSemaphore(instancemax)