mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-06 20:10:56 +00:00
Split the storage filesystem backend into another file
This commit is contained in:
parent
f2d491ea61
commit
b1414c152d
7 changed files with 201 additions and 71 deletions
|
@ -46,7 +46,7 @@ except ImportError:
|
|||
from urlparse import urlparse
|
||||
# pylint: enable=F0401,E0611
|
||||
|
||||
from radicale import acl, config, ical, log, xmlutils
|
||||
from radicale import acl, config, ical, log, storage, xmlutils
|
||||
|
||||
|
||||
VERSION = "git"
|
||||
|
@ -112,6 +112,7 @@ class Application(object):
|
|||
"""Initialize application."""
|
||||
super(Application, self).__init__()
|
||||
self.acl = acl.load()
|
||||
storage.load()
|
||||
self.encoding = config.get("encoding", "request")
|
||||
if config.getboolean('logging', 'full_environment'):
|
||||
self.headers_log = lambda environ: environ
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue