python me chr(10): groovy escape ka jhanjhat khatam

This commit is contained in:
devops 2026-09-16 16:18:02 +00:00
parent 655eb4a199
commit cd6d992b63

View File

@ -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)