summaryrefslogtreecommitdiff
path: root/hacking
diff options
context:
space:
mode:
authorAbhijit Menon-Sen <ams@2ndQuadrant.com>2015-07-22 06:53:59 +0530
committerAbhijit Menon-Sen <ams@2ndQuadrant.com>2015-07-22 06:53:59 +0530
commit8342cc6b61ce9a89aa3baca688082a1ee3abb07b (patch)
tree630c4e11ee00a6db864988037f15bb77000cb5b5 /hacking
parentb05485d4b385f66ed7a5146e831549dd9f8c786c (diff)
downloadansible-8342cc6b61ce9a89aa3baca688082a1ee3abb07b.tar.gz
Fix existing typo, remove trailing space added by PR commit
Diffstat (limited to 'hacking')
-rwxr-xr-xhacking/test-module6
1 files changed, 3 insertions, 3 deletions
diff --git a/hacking/test-module b/hacking/test-module
index 00b630f598..4428264c66 100755
--- a/hacking/test-module
+++ b/hacking/test-module
@@ -26,7 +26,7 @@
# test-module -m ../library/commands/command -a "/bin/sleep 3"
# test-module -m ../library/system/service -a "name=httpd ensure=restarted"
# test-module -m ../library/system/service -a "name=httpd ensure=restarted" --debugger /usr/bin/pdb
-# test-modulr -m ../library/file/lineinfile -a "dest=/etc/exports line='/srv/home hostname1(rw,sync)'" --check
+# test-module -m ../library/file/lineinfile -a "dest=/etc/exports line='/srv/home hostname1(rw,sync)'" --check
# test-module -m ../library/commands/command -a "echo hello" -n -o "test_hello"
import sys
@@ -69,7 +69,7 @@ def parse():
help="run the module in check mode")
parser.add_option('-n', '--noexecute', dest='execute', action='store_false',
default=True, help="do not run the resulting module")
- parser.add_option('-o', '--output', dest='filename',
+ parser.add_option('-o', '--output', dest='filename',
help="Filename for resulting module",
default="~/.ansible_module_generated")
options, args = parser.parse_args()
@@ -195,7 +195,7 @@ def main():
else:
raise Exception("internal error, unexpected module style: %s" % module_style)
if options.execute:
- if options.debugger:
+ if options.debugger:
rundebug(options.debugger, modfile, argspath)
else:
runtest(modfile, argspath)