mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Cleanup. Since we no longer pass a lock, we no longer need to create it
This commit is contained in:
parent
9111efc975
commit
669f3dc3a8
1 changed files with 0 additions and 2 deletions
|
@ -30,7 +30,6 @@
|
||||||
# test-module -m ../library/commands/command -a "echo hello" -n -o "test_hello"
|
# test-module -m ../library/commands/command -a "echo hello" -n -o "test_hello"
|
||||||
|
|
||||||
import base64
|
import base64
|
||||||
from multiprocessing import Lock
|
|
||||||
import optparse
|
import optparse
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
@ -135,7 +134,6 @@ def boilerplate_module(modfile, args, interpreter, check, destfile):
|
||||||
|
|
||||||
modname = os.path.basename(modfile)
|
modname = os.path.basename(modfile)
|
||||||
modname = os.path.splitext(modname)[0]
|
modname = os.path.splitext(modname)[0]
|
||||||
action_write_lock = Lock()
|
|
||||||
(module_data, module_style, shebang) = module_common.modify_module(
|
(module_data, module_style, shebang) = module_common.modify_module(
|
||||||
modname,
|
modname,
|
||||||
modfile,
|
modfile,
|
||||||
|
|
Loading…
Reference in a new issue