def validate_site(site):
    site = fix_import_name_if_pyfile(site)
    if not module_exists(site):
        print "Cannot find site '%s'." % site
        # /usr/include/sysexits.h defines EX_NOINPUT 66 as: cannot open input
        sys.exit(66)
    return site
Verify site exists, and abort if it does not.
dataset/ETHPy150Open willowtreeapps/tango-core/tango/manage.py/validate_site