osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/39910?usp=email )
Change subject: OBS: fix f-string without any placeholders ......................................................................
OBS: fix f-string without any placeholders
Change-Id: I9b7b11a41930a99819a3569f817a0da5586e30a3 --- M scripts/obs/sync_obs_projects.py 1 file changed, 3 insertions(+), 3 deletions(-)
Approvals: fixeria: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/scripts/obs/sync_obs_projects.py b/scripts/obs/sync_obs_projects.py index da45306..732fa02 100755 --- a/scripts/obs/sync_obs_projects.py +++ b/scripts/obs/sync_obs_projects.py @@ -92,7 +92,7 @@ ret += "### \n" ret += "### Do not modify manually. See OS#6165.\n" ret += "### \n" - ret += f"### Sync information:\n" + ret += "### Sync information:\n" ret += f"### - source meta: {hashlib.md5(source_meta).hexdigest()}\n" ret += f"### - source prjconf: {hashlib.md5(source_prjconf).hexdigest()}\n" ret += "\n" @@ -188,7 +188,7 @@ url = download.get("url") print(f" changing url to https: {url}") assert url.startswith("http://ftp.de.debian.org/debian"), \ - f"unexpected mirror URL" + "unexpected mirror URL" download.set("url", url.replace("http://ftp.de.debian.org/debian", "https://debian.inf.tu-dresden.de/debian")) for pubkey in download.findall("pubkey"): @@ -229,7 +229,7 @@ # Extend the AlmaLinux prjconf to also set CentOS variables, as some of # our prjconfigs and spec files rely on them if project == "AlmaLinux:8": - print(f" appending CentOS 8 variables") + print(" appending CentOS 8 variables") prjconf += "\n" prjconf += "# CentOS 8 compat added by sync script\n" prjconf += "%define centos_version 800\n"