Xqt has submitted this change and it was merged.
Change subject: pep8-ified scripts/touch.py
......................................................................
pep8-ified scripts/touch.py
Change-Id: Ib1f35b181d3f221f9e3c43b1c244784efa9f1249
---
M scripts/touch.py
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/touch.py b/scripts/touch.py
index f90ee15..84c2076 100755
--- a/scripts/touch.py
+++ b/scripts/touch.py
@@ -20,7 +20,7 @@
#
# (C) Pywikipedia team
#
-__version__='$Id$'
+__version__ = '$Id$'
#
# Distributed under the terms of the MIT license.
#
@@ -43,7 +43,7 @@
# get the page, and save it using the unmodified text.
# whether or not getting a redirect throws an exception
# depends on the variable self.touch_redirects.
- text = page.get(get_redirect = self.touch_redirects)
+ text = page.get(get_redirect=self.touch_redirects)
page.save("Pywikibot touch script")
except pywikibot.NoPage:
pywikibot.error(u"Page %s does not exist."
--
To view, visit
https://gerrit.wikimedia.org/r/80861
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib1f35b181d3f221f9e3c43b1c244784efa9f1249
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Legoktm <legoktm.wikipedia(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot