jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1108109?usp=email )
Change subject: [bugfix] Fix an f-string
......................................................................
[bugfix] Fix an f-string
Change-Id: Ic9a6b87b713af4c09f4ff14519cc5e917188a673
---
M pywikibot/page/_wikibase.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/pywikibot/page/_wikibase.py b/pywikibot/page/_wikibase.py
index 34d198d..486cf3d 100644
--- a/pywikibot/page/_wikibase.py
+++ b/pywikibot/page/_wikibase.py
@@ -1738,7 +1738,7 @@
msg = None
if not claim_type:
- msg = '{claim.id} does not exist.'
+ msg = f'{claim.id} does not exist.'
elif claim.type in cls.types:
# The default covers string, url types
claim.target = cls.TARGET_CONVERTER.get(
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1108109?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ic9a6b87b713af4c09f4ff14519cc5e917188a673
Gerrit-Change-Number: 1108109
Gerrit-PatchSet: 1
Gerrit-Owner: Matěj Suchánek <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]