Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1307544?usp=email )
Change subject: [bugfix] Fix missing 'f' prefix or NoTitleError message
......................................................................
[bugfix] Fix missing 'f' prefix or NoTitleError message
Change-Id: I17a50fa9bdb40ff5f41b9b19238e7b043f1a8b9f
---
M scripts/pagefromfile.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Xqt: Verified; Looks good to me, approved
diff --git a/scripts/pagefromfile.py b/scripts/pagefromfile.py
index ab99da3..7c0d092 100755
--- a/scripts/pagefromfile.py
+++ b/scripts/pagefromfile.py
@@ -259,7 +259,7 @@
break
except NoTitleError as err:
- pywikibot.info('\n{err} - skipping a page.')
+ pywikibot.info(f'\n{err} - skipping a page.')
text = text[err.offset:]
else:
page = pywikibot.Page(self.site, title)
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1307544?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: I17a50fa9bdb40ff5f41b9b19238e7b043f1a8b9f
Gerrit-Change-Number: 1307544
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[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]