summaryrefslogtreecommitdiff
path: root/hacking/test-module
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2016-04-14 11:59:06 -0700
committerToshio Kuratomi <toshio@fedoraproject.org>2016-04-14 11:59:06 -0700
commit669f3dc3a800357aafcbf1a8bfc645d38caf1fff (patch)
tree407091407d5f9da22d569238bbb4b97615b07e5a /hacking/test-module
parent9111efc9758f49141886c9c5be3ddf425bc930c9 (diff)
downloadansible-669f3dc3a800357aafcbf1a8bfc645d38caf1fff.tar.gz
Cleanup. Since we no longer pass a lock, we no longer need to create it
Diffstat (limited to 'hacking/test-module')
-rwxr-xr-xhacking/test-module2
1 files changed, 0 insertions, 2 deletions
diff --git a/hacking/test-module b/hacking/test-module
index 1a61afbc18..6db1a12fe3 100755
--- a/hacking/test-module
+++ b/hacking/test-module
@@ -30,7 +30,6 @@
# test-module -m ../library/commands/command -a "echo hello" -n -o "test_hello"
import base64
-from multiprocessing import Lock
import optparse
import os
import subprocess
@@ -135,7 +134,6 @@ def boilerplate_module(modfile, args, interpreter, check, destfile):
modname = os.path.basename(modfile)
modname = os.path.splitext(modname)[0]
- action_write_lock = Lock()
(module_data, module_style, shebang) = module_common.modify_module(
modname,
modfile,