osmith has uploaded this change for review. (
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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/10/39910/1
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")ian"), \
- f"unexpected mirror URL"
+ "unexpected mirror URL"
download.set("url",
url.replace("http://ftp.de.debian.org/debian"bian",
"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"
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ci/+/39910?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I9b7b11a41930a99819a3569f817a0da5586e30a3
Gerrit-Change-Number: 39910
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>