python me chr(10): groovy escape ka jhanjhat khatam
This commit is contained in:
parent
655eb4a199
commit
cd6d992b63
@ -23,7 +23,7 @@ for f in sorted(pathlib.Path(path).rglob("*.yaml")):
|
|||||||
for ln in lines:
|
for ln in lines:
|
||||||
if ln.strip().startswith("image:") and (image + ":") in ln:
|
if ln.strip().startswith("image:") and (image + ":") in ln:
|
||||||
indent = ln[: len(ln) - len(ln.lstrip())]
|
indent = ln[: len(ln) - len(ln.lstrip())]
|
||||||
out.append(indent + "image: " + image + ":" + tag + "\n")
|
out.append(indent + "image: " + image + ":" + tag + chr(10))
|
||||||
hit = True
|
hit = True
|
||||||
else:
|
else:
|
||||||
out.append(ln)
|
out.append(ln)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user