Merlijn van Deen has uploaded a new change for review.
https://gerrit.wikimedia.org/r/76540
Change subject: pep8-ified scripts/basic.py
......................................................................
pep8-ified scripts/basic.py
Change-Id: I4891ad9707671baad61ced71f6d7f7dc8dda13e1
---
M scripts/basic.py
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core
refs/changes/40/76540/1
diff --git a/scripts/basic.py b/scripts/basic.py
index 74e1c70..1d8bfab 100755
--- a/scripts/basic.py
+++ b/scripts/basic.py
@@ -124,12 +124,13 @@
% (page.title()))
except pywikibot.SpamfilterError, error:
pywikibot.output(
-u'Cannot change %s because of spam blacklist entry %s'
+ u'Cannot change %s because of spam blacklist entry
%s'
% (page.title(), error.url))
else:
return True
return False
+
def main():
global site
# This factory is responsible for processing command line arguments
--
To view, visit https://gerrit.wikimedia.org/r/76540
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4891ad9707671baad61ced71f6d7f7dc8dda13e1
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Merlijn van Deen <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits