jenkins-bot has submitted this change and it was merged.
Change subject: [PEP8] changes ......................................................................
[PEP8] changes
Change-Id: I45586fd4dd0864c6a210432ad7d619fced942b3b --- M pageimport.py 1 file changed, 7 insertions(+), 7 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pageimport.py b/pageimport.py index dce9604..b362c62 100644 --- a/pageimport.py +++ b/pageimport.py @@ -38,7 +38,7 @@
class Importer(pywikibot.Page): - + def __init__(self, site): self.importsite = site pywikibot.Page.__init__(self, site, 'Special:Import', None, 0) @@ -46,18 +46,18 @@ def Import(self, target, project='w', crono='1', namespace='', prompt=True): """Import the page from the wiki. Requires administrator status. If prompt is True, asks the user if he wants to delete the page. - + """ if project == 'w': - site = pywikibot.getSite(fam = 'wikipedia') + site = pywikibot.getSite(fam='wikipedia') elif project == 'b': - site = pywikibot.getSite(fam = 'wikibooks') + site = pywikibot.getSite(fam='wikibooks') elif project == 'wikt': - site = pywikibot.getSite(fam = 'wiktionary') + site = pywikibot.getSite(fam='wiktionary') elif project == 's': - site = pywikibot.getSite(fam = 'wikisource') + site = pywikibot.getSite(fam='wikisource') elif project == 'q': - site = pywikibot.getSite(fam = 'wikiquote') + site = pywikibot.getSite(fam='wikiquote') else: site = pywikibot.getSite() # Fixing the crono value...
pywikibot-commits@lists.wikimedia.org