示例#1
0
def config_parser():
    path = os.path.join(paths.CONFIG_PATH, CONFIG_FILE)
    if not os.path.exists(path):
        init_conf(path)
        sys.exit(
            logger.sysinfo("Please set the tentacle config in %s..." %
                           CONFIG_FILE))
    load_conf(path)
示例#2
0
def config_parser():
    path = os.path.join(paths.CONFIG_PATH, "tentacle.conf")
    if not os.path.exists(path):
        init_conf(path)
    load_conf(path)
示例#3
0
def config_parser():
    path = os.path.join(paths.CONFIG_PATH, CONFIG_FILE)
    if not os.path.exists(path):
        init_conf(path)
    load_conf(path)
示例#4
0
文件: init.py 项目: allen909/HJPOC
def config_parser():
    path = os.path.join(paths.CONFIG_PATH, "HJPOC.conf")

    load_conf(path)