summaryrefslogtreecommitdiff
path: root/hacking
diff options
context:
space:
mode:
Diffstat (limited to 'hacking')
-rw-r--r--hacking/build_library/build_ansible/command_plugins/plugin_formatter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/hacking/build_library/build_ansible/command_plugins/plugin_formatter.py b/hacking/build_library/build_ansible/command_plugins/plugin_formatter.py
index 6482e71fd7..784225e1b8 100644
--- a/hacking/build_library/build_ansible/command_plugins/plugin_formatter.py
+++ b/hacking/build_library/build_ansible/command_plugins/plugin_formatter.py
@@ -678,9 +678,9 @@ def validate_options(options):
''' validate option parser options '''
if not options.module_dir:
- sys.exit("--module-dir is required", file=sys.stderr)
+ sys.exit("--module-dir is required")
if not os.path.exists(options.module_dir):
- sys.exit("--module-dir does not exist: %s" % options.module_dir, file=sys.stderr)
+ sys.exit("--module-dir does not exist: %s" % options.module_dir)
if not options.template_dir:
sys.exit("--template-dir must be specified")