Patches item #2929350, was opened at 2010-01-10 16:41 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2929350...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: KeyError in userlib.py
Initial Comment: try to block a user with : badUser = userlib.User(site=self.mySite, name="123.123.123.123") badUser.block(expiry="2 hours", reason="did bad things", noCreate=True, onAutoblock=True, allowUsertalk=False)
You will get an KeyError. This is a patch for solving the problem.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2929350...
pywikipedia-bugs@lists.wikimedia.org