Subversion Repositories yaws

Rev

Rev 19 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19 Rev 26
Line 76... Line 76...
76
        time.sleep(60)
76
        time.sleep(60)
77
    return 0
77
    return 0
Line 78... Line 78...
78
 
78
 
79
if __name__ == '__main__':
79
if __name__ == '__main__':
80
    import sys, configparser
80
    import sys, configparser
81
    cfg = configparser.ConfigParser()
81
    # cfg = configparser.ConfigParser()
82
    cfg.read(cfgPath)
82
    # cfg.read(cfgPath)
83
    dbPath = cfg['global']['dbPath']
83
    # dbPath = cfg['global']['dbPath']