~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to start-loggerhead.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2008-03-07 10:41:29 UTC
  • mfrom: (149.2.1 remove-CRs-from-master.kid)
  • Revision ID: launchpad@pqm.canonical.com-20080307104129-n14bnq5lvqjyg6e4
[rs=jml] sort out the mixed line endings in master.kid by deleting the carriage returns

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
import cherrypy
13
13
cherrypy.lowercase_api = True
14
14
 
15
 
from loggerhead import daemon, release
 
15
from loggerhead import daemon, release, util
16
16
 
17
17
 
18
18
def make_handler(config, filename):
114
114
    index_freq = config.get('cache_rebuild_frequency', 6 * 3600)
115
115
    turbogears.scheduler.add_interval_task(initialdelay=1, interval=index_freq, action=Root._check_rebuild)
116
116
 
 
117
    util.set_date_format(config.get('date_format', 'fancy'))
117
118
    try:
118
119
        turbogears.start_server(Root)
119
120
    finally: