59
61
def serve_http(transport, host=None, port=None, inet=None):
60
65
# loggerhead internal code will try to 'import loggerhead', so
61
66
# let's put it on the path if we can't find it in the existing path
66
71
sys.path.append(os.path.dirname(__file__))
68
73
from loggerhead.apps.transport import BranchesFromTransportRoot
69
74
from loggerhead.config import LoggerheadConfig