Project

General

Profile

« Previous | Next » 

Revision 5214

tnrs_db: Made wait option default to off to facilitate running tnrs_db by itself, rather than as part of an import

View differences:

tnrs_db
31 31
    env_names = []
32 32
    db_config = opts.get_env_vars(sql.db_config_names, None, env_names)
33 33
    verbosity = float(opts.get_env_var('verbosity', 3, env_names))
34
    wait = opts.env_flag('wait', True, env_names)
34
    wait = opts.env_flag('wait', False, env_names)
35 35
    if not 'engine' in db_config: raise SystemExit('Usage: '
36 36
        +opts.env_usage(env_names)+' '+sys.argv[0]+' 2>>log')
37 37
    

Also available in: Unified diff