~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to start-loggerhead

  • Committer: Matt Nordhoff
  • Date: 2009-04-24 02:22:06 UTC
  • mto: (389.2.2 pep8-2009-10)
  • mto: This revision was merged to the branch mainline in revision 392.
  • Revision ID: mnordhoff@mattnordhoff.com-20090424022206-7i2gvg3wp98fzy9q
Remove an extra \n at the end of a file

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
 
19
19
import logging
20
 
import logging.handlers
21
20
from optparse import OptionParser
22
21
import os
23
22
import sys
24
23
import urlparse
25
24
 
 
25
from bzrlib.plugin import load_plugins
26
26
from bzrlib.util.configobj.configobj import ConfigObj
27
27
 
28
28
from paste import httpserver
31
31
 
32
32
from loggerhead import daemon
33
33
from loggerhead.apps.config import Root
34
 
from loggerhead.trace import make_handler, setup_logging
 
34
from loggerhead.trace import setup_logging
35
35
from loggerhead.apps.error import ErrorHandlerApp
36
36
 
37
37
 
118
118
            environ['wsgi.url_scheme'] = scheme
119
119
            return orig(environ, start_response)
120
120
 
 
121
    load_plugins()
 
122
 
121
123
    try:
122
124
        httpserver.serve(
123
125
            app, host=server_host, port=server_port,