mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
fix bad indent
This commit is contained in:
parent
2f07b0fe35
commit
e87c5a3597
@ -1096,11 +1096,11 @@ def blockreplace(path,
|
||||
|
||||
if not done:
|
||||
if append_if_not_found:
|
||||
# add the markers and content at the end of file
|
||||
new_file.append(marker_start + '\n')
|
||||
new_file.append(content + '\n')
|
||||
new_file.append(marker_end + '\n')
|
||||
done = True
|
||||
# add the markers and content at the end of file
|
||||
new_file.append(marker_start + '\n')
|
||||
new_file.append(content + '\n')
|
||||
new_file.append(marker_end + '\n')
|
||||
done = True
|
||||
else:
|
||||
raise CommandExecutionError("Cannot edit marked block. Markers were not found in file.")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user