mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
This commit is contained in:
parent
cffd5601b6
commit
8ccf166a56
1 changed files with 2 additions and 2 deletions
|
@ -258,9 +258,9 @@ def main():
|
|||
|
||||
n0 = n1 = None
|
||||
for i, line in enumerate(lines):
|
||||
if line.startswith(marker0):
|
||||
if line == marker0:
|
||||
n0 = i
|
||||
if line.startswith(marker1):
|
||||
if line == marker1:
|
||||
n1 = i
|
||||
|
||||
if None in (n0, n1):
|
||||
|
|
Loading…
Reference in a new issue