Fix comment to reflect what the code does
This commit is contained in:
parent
a4141cfa2e
commit
150f5cb232
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue