jenkins-bot has submitted this change and it was merged.
Change subject: bug 62732: important fix for sysopnames ......................................................................
bug 62732: important fix for sysopnames
gerrit 119059 was wrong
Change-Id: I61db016e8dd2c1a023ce0d4d125ea29ac01d4142 --- M pywikibot/__init__.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/__init__.py b/pywikibot/__init__.py index b2c76f3..784ca29 100644 --- a/pywikibot/__init__.py +++ b/pywikibot/__init__.py @@ -399,7 +399,7 @@ sysop = None if sysop is None: try: - user = config.sysopnames[fam]['*'] + sysop = config.sysopnames[fam]['*'] except KeyError: sysop = None if interface is None: