From cb5675a29f354843cf3cd15d9f8a4443afd1104d Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Fri, 12 Aug 2016 19:13:02 +0200 Subject: [PATCH] Remove a useless section, only act on 'shell' (#16205) --- lib/ansible/parsing/mod_args.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/ansible/parsing/mod_args.py b/lib/ansible/parsing/mod_args.py index 0974630d8f9..96fb583a71d 100644 --- a/lib/ansible/parsing/mod_args.py +++ b/lib/ansible/parsing/mod_args.py @@ -114,11 +114,6 @@ class ModuleArgsParser: to shell/command being treated special and nothing else ''' - # don't handle non shell/command modules in this function - # TODO: in terms of the whole app, should 'raw' also fit here? - if action not in ['shell', 'command']: - return (action, args) - # the shell module really is the command module with an additional # parameter if action == 'shell':