Fix comment to reflect what the code does

pull/49409/head
Jérémy Lecour 6 years ago
parent a4141cfa2e
commit 150f5cb232

@ -298,7 +298,7 @@ def present(module, dest, regexp, line, insertafter, insertbefore, create,
msg = '' msg = ''
changed = False changed = False
b_linesep = to_bytes(os.linesep, errors='surrogate_or_strict') 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 index[0] != -1:
if backrefs: if backrefs:
b_new_line = m.expand(b_line) b_new_line = m.expand(b_line)

Loading…
Cancel
Save