view hgpaste/factory.py @ 4:041ba864496f

better description
author k0s <k0scist@gmail.com>
date Wed, 17 Feb 2010 16:38:29 +0000
parents f0832eb3f678
children 043088856f0d
line wrap: on
line source

def make_app(global_conf, config_file):
    from mercurial import demandimport; demandimport.enable()
    from mercurial.hgweb.hgwebdir_mod import hgwebdir
    application = hgwebdir(config_file)
    return application