jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/965275 )

Change subject: Change category output string to format string.
......................................................................

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(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified




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 https://gerrit.wikimedia.org/r/c/pywikibot/core/+/965275
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I6d078ccabd5d69b143b4e4d0546aa7d96073d833
Gerrit-Change-Number: 965275
Gerrit-PatchSet: 3
Gerrit-Owner: Enag2000 <[email protected]>
Gerrit-Reviewer: D3r1ck01 <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to