Commit Graph

8 Commits

Author SHA1 Message Date
Jeremy Fincher 68b1d65d68 Plugin normalization, sanitation, etc. Removed unused imports, for the most part. 2005-01-29 21:24:17 +00:00
Jeremy Fincher 381a42d863 Added an "irc" argument to callbacks.Privmsg.__init__, so now plugins get an Irc on instantiation. 2005-01-29 19:16:29 +00:00
Jeremy Fincher 5fd6bbb52d Completely restructured our utils modules.
Tons of changes.  Here's the summary of things that matter most:

* There is no more supybot.fix.
* There is no more supybot.webutils; now there is supybot.utils.web.
  * It's no longer webutils.WebError, but just utils.web.Error.
* You shouldn't import itertools, ideally, but instead import utils.iter.
* No more using imap/ifilter in commands unless absolutely necessary.  It's
  premature optimization and annoying.
* utils.str.format isn't quite ready yet, but will be soon.  That'll be the
  next big thing to fix in our code.
2005-01-27 06:59:08 +00:00
Jeremy Fincher 7fb3b21d94 Removed src/privmsgs.py and all the accompanying crap. 2005-01-27 05:42:36 +00:00
Jeremy Fincher 863c0e6ad2 Moved loadPlugin{Module,Class} to its own module in src/ 2005-01-19 23:22:35 +00:00
Jeremy Fincher 2c31235a3e Moved docstrings in plugin packages to __init__.py instead of plugin.py; no lazy "backwards compatibility" hack. 2005-01-19 23:17:35 +00:00
Jeremy Fincher 5019d10a1b Updated license years. 2005-01-19 13:33:05 +00:00
Jeremy Fincher 8ca625d339 Initial import. 2005-01-19 13:14:38 +00:00