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