~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to serve-branches

  • 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:
21
21
 
22
22
from optparse import OptionParser
23
23
 
 
24
from bzrlib.plugin import load_plugins
 
25
 
24
26
from paste import httpserver
25
27
from paste.httpexceptions import HTTPExceptionHandler, HTTPInternalServerError
26
28
from paste.translogger import TransLogger
157
159
    else:
158
160
        host = options.user_host
159
161
 
 
162
    load_plugins()
 
163
 
160
164
    httpserver.serve(app, host=host, port=port)
161
165
 
162
166