jenkins-bot has submitted this change and it was merged.
Change subject: Remove unneeded site argument to AutoFamily ......................................................................
Remove unneeded site argument to AutoFamily
Change-Id: Ib457fed5fc5895fdc1292ab95c0bb882333aa96c (cherry picked from commit 51a5a68c367d77efb397bccb3795302ab2d4c948) --- M pywikibot/family.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: John Vandenberg: Looks good to me, approved XZise: Looks good to me, but someone else must approve Mpaa: Looks good to me, approved Merlijn van Deen: Looks good to me, but someone else must approve jenkins-bot: Verified
diff --git a/pywikibot/family.py b/pywikibot/family.py index fc2cb25..5128571 100644 --- a/pywikibot/family.py +++ b/pywikibot/family.py @@ -1493,7 +1493,7 @@
"""Family that automatically loads the site configuration."""
- def __init__(self, name, url, site=None): + def __init__(self, name, url): """Constructor.""" super(AutoFamily, self).__init__() self.name = name