~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to start-loggerhead

  • Committer: Martin Albisetti
  • Date: 2008-10-25 19:27:10 UTC
  • mfrom: (219.2.15 abstract_path)
  • Revision ID: martin.albisetti@canonical.com-20081025192710-js2p07p94c7twp9t
 * Use paths to navigate instead of file_ids
 * Cleanups on different methods and variables
 * Fixed bugs: #260363, #269365 and #128926

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
27
 
from bzrlib.util.configobj.configobj import ConfigObj
 
26
from configobj import ConfigObj
28
27
 
29
28
from paste import httpserver
30
29
from paste.httpexceptions import make_middleware
116
115
        def app(environ, start_response, orig=app):
117
116
            environ['SCRIPT_NAME'] = path
118
117
            environ['HTTP_HOST'] = netloc
119
 
            environ['wsgi.url_scheme'] = scheme
120
118
            return orig(environ, start_response)
121
119
 
122
 
    load_plugins()
123
 
 
124
120
    try:
125
121
        httpserver.serve(
126
122
            app, host=server_host, port=server_port,