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:
parent
239b921056
commit
16f46c81cd
@ -199,7 +199,7 @@ def initInstanceLimit(limitNamespace, instancemax):
|
|||||||
|
|
||||||
global limitedNamespaces
|
global limitedNamespaces
|
||||||
|
|
||||||
if not limitNamespace in limitedNamespaces:
|
if limitNamespace not in limitedNamespaces:
|
||||||
limitedNamespaces[limitNamespace] = BoundedSemaphore(instancemax)
|
limitedNamespaces[limitNamespace] = BoundedSemaphore(instancemax)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user