Project

General

Profile

« Previous | Next » 

Revision 10114

bin/map: update_in_label(): use in_schema instead of the map spreadsheet column name when available, to allow using one spreadsheet for all datasources (which would not have a datasource-specific spreadsheet column name)

View differences:

map
190 190
    in_label_ref = [None]
191 191
    col_defaults = {}
192 192
    def update_in_label():
193
        if in_label_ref[0] != None:
194
            os.environ['source'] = in_label_ref[0]
193
        if in_schema != None: os.environ['source'] = in_schema
194
        elif in_label_ref[0] != None: os.environ['source'] = in_label_ref[0]
195 195
    
196 196
    def prep_root():
197 197
        root.clear()

Also available in: Unified diff