from . import accounts
from . import asterisk
+from . import analytics
from . import blog
from . import bugzilla
+from . import cache
from . import campaigns
from . import database
from . import fireinfo
from . import httpclient
from . import iuse
-from . import memcached
+from . import lists
from . import messages
from . import mirrors
from . import netboot
# Create HTTPClient
self.http_client = httpclient.HTTPClient(self)
- # Initialize settings first.
+ # Initialize the cache
+ self.cache = cache.Cache(self)
+
+ # Initialize settings first
self.settings = settings.Settings(self)
- self.memcache = memcached.Memcached(self)
# Initialize backend modules.
self.accounts = accounts.Accounts(self)
- self.asterisk = asterisk.Asterisk(self)
+ self.analytics = analytics.Analytics(self)
self.bugzilla = bugzilla.Bugzilla(self)
self.fireinfo = fireinfo.Fireinfo(self)
self.iuse = iuse.IUse(self)
if r:
raise SystemExit(r)
+ @lazy_property
+ def asterisk(self):
+ return asterisk.Asterisk(self)
+
@lazy_property
def campaigns(self):
return campaigns.Campaigns(self)
def groups(self):
return accounts.Groups(self)
+ @lazy_property
+ def lists(self):
+ return lists.Lists(self)
+
@lazy_property
def messages(self):
return messages.Messages(self)