jenkins-bot has submitted this change and it was merged.
Change subject: [PEP8] changes ......................................................................
[PEP8] changes
Change-Id: Iddfd37775adcae1799b8c6e81b817e31f5b14686 --- M touch.py 1 file changed, 4 insertions(+), 3 deletions(-)
Approvals: Ladsgroup: Looks good to me, approved jenkins-bot: Verified
diff --git a/touch.py b/touch.py index b5a42db..fdb6d2d 100644 --- a/touch.py +++ b/touch.py @@ -20,13 +20,14 @@ # # (C) Pywikipedia team # -__version__='$Id$' +__version__ = '$Id$' # # Distributed under the terms of the MIT license. #
import wikipedia as pywikibot -import pagegenerators, config +import pagegenerators +import config import sys
docuReplacements = {'¶ms;': pagegenerators.parameterHelp} @@ -43,7 +44,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.put(text, "Pywikibot touch script") except pywikibot.NoPage: pywikibot.output(u"Page %s does not exist."
pywikibot-commits@lists.wikimedia.org