From 84f27cfa6852ed06f0d2f2fca5a673df64abbd68 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Tue, 27 Jan 2015 09:42:38 -0800 Subject: [PATCH] Remove str.format() usage for python2.4 compat. Fixes #10036 --- lib/ansible/modules/commands/command.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/commands/command.py b/lib/ansible/modules/commands/command.py index 2b79b327d7..131fc4c7ff 100644 --- a/lib/ansible/modules/commands/command.py +++ b/lib/ansible/modules/commands/command.py @@ -127,9 +127,8 @@ OPTIONS = {'chdir': None, # the line is reached OPTIONS_REGEX = '|'.join(OPTIONS.keys()) PARAM_REGEX = re.compile( - r'(^|\s)({options_regex})=(?P[\'"])?(.*?)(?(quote)(?[\'"])?(.*?)(?(quote)(?