view hgpaste/factory.py @ 1:f0832eb3f678

remove __main__ which doesn't look like it would work anyway
author Robert Marianski <rob@marianski.com>
date Sun, 04 Oct 2009 15:30:59 -0400
parents 047850e4bb4c
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