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:

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I61db016e8dd2c1a023ce0d4d125ea29ac01d4142
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Ricordisamoa <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to