Skip to content

Commit bfff18e

Browse files
authored
remove global declaration for _instance_lock (#2144)
Co-authored-by: vnktshr21 <[email protected]>
1 parent cf435c0 commit bfff18e

File tree

12 files changed

+0
-12
lines changed

12 files changed

+0
-12
lines changed

build/templates/_library_singleton.py.mako

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ def get():
4444
Returns the library.Library singleton for ${config['module_name']}.
4545
'''
4646
global _instance
47-
global _instance_lock
4847

4948
with _instance_lock:
5049
if _instance is None:

generated/nidcpower/nidcpower/_library_singleton.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def get():
4040
Returns the library.Library singleton for nidcpower.
4141
'''
4242
global _instance
43-
global _instance_lock
4443

4544
with _instance_lock:
4645
if _instance is None:

generated/nidigital/nidigital/_library_singleton.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def get():
4040
Returns the library.Library singleton for nidigital.
4141
'''
4242
global _instance
43-
global _instance_lock
4443

4544
with _instance_lock:
4645
if _instance is None:

generated/nidmm/nidmm/_library_singleton.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def get():
4040
Returns the library.Library singleton for nidmm.
4141
'''
4242
global _instance
43-
global _instance_lock
4443

4544
with _instance_lock:
4645
if _instance is None:

generated/nifake/nifake/_library_singleton.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def get():
4040
Returns the library.Library singleton for nifake.
4141
'''
4242
global _instance
43-
global _instance_lock
4443

4544
with _instance_lock:
4645
if _instance is None:

generated/nifgen/nifgen/_library_singleton.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def get():
4040
Returns the library.Library singleton for nifgen.
4141
'''
4242
global _instance
43-
global _instance_lock
4443

4544
with _instance_lock:
4645
if _instance is None:

generated/nimodinst/nimodinst/_library_singleton.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def get():
4040
Returns the library.Library singleton for nimodinst.
4141
'''
4242
global _instance
43-
global _instance_lock
4443

4544
with _instance_lock:
4645
if _instance is None:

generated/nirfsg/nirfsg/_library_singleton.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def get():
4040
Returns the library.Library singleton for nirfsg.
4141
'''
4242
global _instance
43-
global _instance_lock
4443

4544
with _instance_lock:
4645
if _instance is None:

generated/niscope/niscope/_library_singleton.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def get():
4040
Returns the library.Library singleton for niscope.
4141
'''
4242
global _instance
43-
global _instance_lock
4443

4544
with _instance_lock:
4645
if _instance is None:

generated/nise/nise/_library_singleton.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def get():
4040
Returns the library.Library singleton for nise.
4141
'''
4242
global _instance
43-
global _instance_lock
4443

4544
with _instance_lock:
4645
if _instance is None:

0 commit comments

Comments
 (0)