Xqt has uploaded a new change for review.
https://gerrit.wikimedia.org/r/95762
Change subject: [PEP8]} changes for catlib.py
......................................................................
[PEP8]} changes for catlib.py
Change-Id: I008192a9fc6f3953e6c15eeea186b2a0b7336c10
---
M catlib.py
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/compat
refs/changes/62/95762/1
diff --git a/catlib.py b/catlib.py
index 02834b9..f1cde8b 100644
--- a/catlib.py
+++ b/catlib.py
@@ -547,7 +547,7 @@
talkpage.put(u"==Authors==\n%s-~~~~" % authors,
u"Bot:Listifying authors")
else:
- talkpage.put(talktext+u"\n==Authors==\n%s-~~~~" % authors,
+ talkpage.put(talktext + u"\n==Authors==\n%s-~~~~" %
authors,
u"Bot:Listifying authors")
targetCat.put(self.get(), creationSummary)
return True
@@ -587,7 +587,7 @@
re.IGNORECASE | re.MULTILINE | re.DOTALL)
pageText = matchcomment.sub('', pageText)
pos = 0
- while (pageText[pos:pos+1] == "\n"):
+ while (pageText[pos:pos + 1] == "\n"):
pos = pos + 1
pageText = pageText[pos:]
return pageText
--
To view, visit https://gerrit.wikimedia.org/r/95762
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I008192a9fc6f3953e6c15eeea186b2a0b7336c10
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/compat
Gerrit-Branch: master
Gerrit-Owner: Xqt <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits