Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
12490 | malex | 1 | ### |
2 | # Supybot plugin for querying a Mantis BTS |
||
3 | # Copyright (c) 2006, 2007, Oleksandr Moskalenko |
||
4 | # All rights reserved. |
||
5 | # |
||
6 | # This program is free software: you can redistribute it and/or modify |
||
7 | # it under the terms of the GNU General Public License as published by |
||
8 | # the Free Software Foundation, either version 3 of the License, or |
||
9 | # (at your option) any later version. |
||
10 | # |
||
11 | # This program is distributed in the hope that it will be useful, |
||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
14 | # GNU General Public License for more details. |
||
15 | # |
||
16 | # You should have received a copy of the GNU General Public License |
||
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
||
18 | ### |
||
19 | |||
20 | """ |
||
21 | This pluging produces expanded urls for Mantis BTS bug numbers. |
||
22 | """ |
||
23 | |||
24 | import supybot |
||
25 | import supybot.world as world |
||
26 | |||
27 | # Use this for the version of this plugin. You may wish to put a CVS keyword |
||
28 | # in here if you're keeping the plugin in CVS or some similar system. |
||
29 | __version__ = "0.3" |
||
30 | __author__ = supybot.Author('Oleksandr Moskalenko', 'malex', 'malex@tagancha.org') |
||
31 | __contributors__ = {} |
||
32 | |||
33 | # This is a url where the most recent plugin package can be downloaded. |
||
34 | __url__ = 'http://linux.tagancha.org/software/supybot/Mantis' |
||
35 | |||
36 | import config |
||
37 | import plugin |
||
38 | reload(plugin) # In case we're being reloaded. |
||
39 | reload(config) # In case we're being reloaded. |
||
40 | # Add more reloads here if you add third-party modules and want them to be |
||
41 | # reloaded when this plugin is reloaded. Don't forget to import them as well! |
||
42 | |||
43 | if world.testing: |
||
44 | import test |
||
45 | |||
46 | Class = plugin.Class |
||
47 | configure = config.configure |
||
48 | |||
49 | |||
50 | # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: |