~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to start-loggerhead

  • Committer: Michael Hudson
  • Date: 2009-02-19 18:06:35 UTC
  • mfrom: (270.1.1 bzr-logger)
  • Revision ID: michael.hudson@canonical.com-20090219180635-0m3pd249n849cvdd
defer importing plugins until after logging is set up

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
import sys
24
24
import urlparse
25
25
 
 
26
from bzrlib.plugin import load_plugins
26
27
from bzrlib.util.configobj.configobj import ConfigObj
27
28
 
28
29
from paste import httpserver
118
119
            environ['wsgi.url_scheme'] = scheme
119
120
            return orig(environ, start_response)
120
121
 
 
122
    load_plugins()
 
123
 
121
124
    try:
122
125
        httpserver.serve(
123
126
            app, host=server_host, port=server_port,