|
Revision 47, 350 bytes
(checked in by Jonathan Jacobs <korpse@…>, 2 years ago)
|
|
Initial web interface implementation.
This includes a number of substantial changes to the rest of the codebase.
|
| Line | |
|---|
| 1 | import sys |
|---|
| 2 | |
|---|
| 3 | from axiom.store import Store |
|---|
| 4 | from axiom.dependency import uninstallFrom |
|---|
| 5 | |
|---|
| 6 | from eridanus.bot import IRCBotService |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | db = Store(sys.argv[1]) |
|---|
| 10 | for svc in db.query(IRCBotService): |
|---|
| 11 | for manager in svc.config.allEntryManagers(): |
|---|
| 12 | if not manager.channel.startswith(u'#'): |
|---|
| 13 | print manager |
|---|
| 14 | manager.deleteFromStore() |
|---|