Revision 10854
Added by Aaron Marcuse-Kubitza over 11 years ago
bin/map | ||
---|---|---|
189 | 189 |
in_label_ref = [None] |
190 | 190 |
col_defaults = {} |
191 | 191 |
def update_in_label(): |
192 |
if in_schema != None: os.environ['source'] = in_schema
|
|
193 |
elif in_label_ref[0] != None: os.environ['source'] = in_label_ref[0]
|
|
192 |
os.environ.setdefault('source', in_schema)
|
|
193 |
os.environ.setdefault('source', in_label_ref[0])
|
|
194 | 194 |
|
195 | 195 |
def prep_root(): |
196 | 196 |
root.clear() |
Also available in: Unified diff
bin/map: allow user to override the source env var, which is used as the source.shortname value in the DB