Project

General

Profile

« Previous | Next » 

Revision 135

map: Implemented DB input support for querying a single table

View differences:

opts.py
4 4

  
5 5
def env_flag(name): return name in os.environ and os.environ[name] != ''
6 6

  
7
def get_env_var(name, default, env_names_ref=None):
8
    if env_names_ref != None: env_names_ref.append(name)
9
    return os.getenv(name, default)
10

  
7 11
def get_env_vars(names, prefix=None, env_names_ref=None):
8 12
    vars_ = {}
9 13
    for name in names:

Also available in: Unified diff