jenkins-bot has submitted this change and it was merged.

Change subject: Make generate_family_file.py create pep8-compliant family files
......................................................................


Make generate_family_file.py create pep8-compliant family files

Otherwise they'd issue E302 and E303 errors

Change-Id: I9d8293c27465180b2554c40525aa3fc7d885040b
---
M generate_family_file.py
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  XZise: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/generate_family_file.py b/generate_family_file.py
index 50770c1..3f8e949 100644
--- a/generate_family_file.py
+++ b/generate_family_file.py
@@ -189,6 +189,7 @@
 from pywikibot import family
 from pywikibot.tools import deprecated
 
+
 class Family(family.Family):
     def __init__(self):
         family.Family.__init__(self)
@@ -201,8 +202,6 @@
                     % {'lang': w.lang, 'hostname': urlparse(w.server).netloc})
 
         f.write("        }\n\n")
-
-        f.write("\n\n")
 
         f.write("    def scriptpath(self, code):\n")
         f.write("        return {\n")

-- 
To view, visit https://gerrit.wikimedia.org/r/192840
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9d8293c27465180b2554c40525aa3fc7d885040b
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Ricordisamoa <ricordisa...@openmailbox.org>
Gerrit-Reviewer: John Vandenberg <jay...@gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgr...@gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhall...@arctus.nl>
Gerrit-Reviewer: XZise <commodorefabia...@gmx.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
Pywikibot-commits mailing list
Pywikibot-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to