jenkins-bot submitted this change.

View Change

Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
[bugfix] Fix an f-string

Change-Id: Ic9a6b87b713af4c09f4ff14519cc5e917188a673
---
M pywikibot/page/_wikibase.py
1 file changed, 1 insertion(+), 1 deletion(-)

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 change 1108109. To unsubscribe, or for help writing mail filters, visit settings.

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 <matejsuchanek97@gmail.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot