38
38
takes_options = _original_command.takes_options + [
42
42
def run(self, *args, **kw):
44
44
# hack around loggerhead expecting to be loaded from the module
47
47
sys.path.append(os.path.dirname(__file__))
48
49
from loggerhead.apps.filesystem import BranchesFromFileSystemRoot
49
50
from paste.httpexceptions import HTTPExceptionHandler
50
51
from paste.httpserver import serve
51
52
a = HTTPExceptionHandler(BranchesFromFileSystemRoot('.'))
54
60
super(cmd_serve, self).run(*args, **kw)