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(
pywikibot-commits@lists.wikimedia.org