~divmod-dev/divmod.org/themed-404-275

« back to all changes in this revision

Viewing changes to Sine/axiom/plugins/confessioncmd.py

  • Committer: exarkun
  • Date: 2009-07-16 00:39:57 UTC
  • Revision ID: svn-v4:866e43f7-fbfc-0310-8f2a-ec88d1da2979:trunk:17772
Merge sine-scheduler-2924

Author: exarkun
Reviewer: mithrandi
Fixes: #2924

Remove all code from Sine which instantiates Schedulers or SubSchedulers and
upgrade away persistent attributes which refer to existing such items.  Replace
this with simple adaption of Stores to IScheduler where necessary (though
largely the use of schedulers seemed to be pointless and superficial).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
from twisted.cred import portal
4
4
from epsilon.scripts import certcreate
5
5
 
6
 
from axiom import errors as scheduler, userbase
 
6
from axiom import errors as userbase
7
7
from axiom.scripts import axiomatic
8
8
from axiom.dependency import installOn
9
9
 
26
26
 
27
27
    def postOptions(self):
28
28
        s = self.parent.getStore()
29
 
        s.findOrCreate(scheduler.Scheduler, lambda i: installOn(i, s))
30
29
        s.findOrCreate(userbase.LoginSystem, lambda i: installOn(i, s))
31
30
 
32
31
        for ws in s.query(website.WebSite):