jenkins-bot has submitted this change and it was merged.
Change subject: [PEP8] changes
......................................................................
[PEP8] changes
Change-Id: Id140f921d5ff176fd24957ce239ae67aa2ed91b0
---
M templatecount.py
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Merlijn van Deen: Looks good to me, approved
jenkins-bot: Verified
diff --git a/templatecount.py b/templatecount.py
index ce740b0..fea8063 100644
--- a/templatecount.py
+++ b/templatecount.py
@@ -86,7 +86,7 @@
gen = TemplateCountRobot.template_dict_generator(templates, namespaces)
templateDict = {}
for template, transcludingArray in gen:
- templateDict[template] = transcludingArray;
+ templateDict[template] = transcludingArray
return templateDict
@staticmethod
@@ -125,7 +125,7 @@
else:
argsList.append(arg)
- if operation == None:
+ if not operation:
pywikibot.showHelp('templatecount')
else:
robot = TemplateCountRobot()
--
To view, visit https://gerrit.wikimedia.org/r/98103
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id140f921d5ff176fd24957ce239ae67aa2ed91b0
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/compat
Gerrit-Branch: master
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits