62
60
sys.path.append(os.path.dirname(__file__))
64
62
def serve_http(transport, host=None, port=None, inet=None):
69
63
from paste.httpexceptions import HTTPExceptionHandler
70
64
from paste.httpserver import serve
72
66
_ensure_loggerhead_path()
75
68
from loggerhead.apps.transport import BranchesFromTransportRoot
76
69
from loggerhead.config import LoggerheadConfig
77
70
from loggerhead.main import setup_logging