def load_app(target):
global NORUN; NORUN, nr_old = True, NORUN<EOL>try:<EOL><INDENT>tmp = default_app.push() <EOL>rv = load(target) <EOL>return rv if callable(rv) else tmp<EOL><DEDENT>finally:<EOL><INDENT>default_app.remove(tmp) <EOL>NORUN = nr_old<EOL><DEDENT>
Load a bottle application from a module and make sure that the import
        does not affect the current default application, but returns a separate
        application object. See :func:`load` for the target parameter.