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