jenkins-bot submitted this change.

View Change


Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
Change category output string to format string.

Change the category output string to a format string so that the
category is correctly logged out to the user when generating a category
graph.

Bug: T348709
Change-Id: I6d078ccabd5d69b143b4e4d0546aa7d96073d833
---
M scripts/category_graph.py
1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/scripts/category_graph.py b/scripts/category_graph.py
index 0d875b2..58ae66d 100755
--- a/scripts/category_graph.py
+++ b/scripts/category_graph.py
@@ -71,7 +71,7 @@
cat_title = pywikibot.input(
'For which category do you want to create a graph?')

- pywikibot.info('Scanning {cat_title!r}')
+ pywikibot.info(f'Scanning {cat_title!r}')
self.cat = pywikibot.Category(self.site, cat_title)
self.to = args.to
if self.to == '?':

To view, visit change 965275. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I6d078ccabd5d69b143b4e4d0546aa7d96073d833
Gerrit-Change-Number: 965275
Gerrit-PatchSet: 3
Gerrit-Owner: Enag2000 <enag2000@gmail.com>
Gerrit-Reviewer: D3r1ck01 <dalangi-ctr@wikimedia.org>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged