From 150f5cb232f10e38509823cb5864a9fd800b6df5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lecour?= Date: Sat, 1 Dec 2018 22:08:28 +0100 Subject: [PATCH] Fix comment to reflect what the code does --- lib/ansible/modules/files/lineinfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/files/lineinfile.py b/lib/ansible/modules/files/lineinfile.py index 27b512ec331..47b0b5a0d81 100644 --- a/lib/ansible/modules/files/lineinfile.py +++ b/lib/ansible/modules/files/lineinfile.py @@ -298,7 +298,7 @@ def present(module, dest, regexp, line, insertafter, insertbefore, create, msg = '' changed = False b_linesep = to_bytes(os.linesep, errors='surrogate_or_strict') - # Regexp matched a line in the file + # Exact line or Regexp matched a line in the file if index[0] != -1: if backrefs: b_new_line = m.expand(b_line)