Bugs item #3003310, was opened at 2010-05-18 14:56 Message generated for change (Tracker Item Submitted) made by stanlekub You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3003310...
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: rewrite Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: stanlekub (stanlekub) Assigned to: Russell Blau (russblau) Summary: bug accessing 'availableOptions' dict in Bot() class
Initial Comment: The Bot() class defines a dictionary named 'availableOptions', which is supposedly customizable by subclassing Bot(), but the Bot.getOption() and Bot.setOptions() methods use the "unbounded" Bot.availableOptions call.
The attached (very small) patch modifies this by replacing Bot.availableOptions with self.availableOptions, so that subclasses can use a custom dict.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3003310...
pywikipedia-bugs@lists.wikimedia.org