__all__ = ["wsgiwrap", "restart", "cookie", "formdata"]
-from util import wsgiwrap, persession
-from dispatch import restart
-import cookie
-from form import formdata
+from .util import wsgiwrap, persession
+from .dispatch import restart
+from . import cookie
+from .form import formdata
import os
-import resp
+from . import resp
pj = os.path.join
__all__ = ["filehandler"]
-import dispatch, proto
+from . import dispatch, proto
__all__ = ["skeleton", "skelfor", "setskel", "usererror"]
import threading, time, pickle, random, os
-import cookie
+from . import cookie
__all__ = ["db", "get"]
-import req, dispatch, session
+from . import req, dispatch, session
def wsgiwrap(callable):
def wrapper(env, startreq):
import os, threading
from mako import template, lookup, filters
-import util, form, session
+from . import util, form, session
# It seems Mako isn't thread-safe.
makolock = threading.Lock()