sregistry/main/google_storage/build.py
def setconfig(lookup, key, value=None):
    '''setconfig will update a lookup to give priority based on the following:
 
       1. If both values are None, we set the value to None
       2. If the currently set (the config.json) is set but not runtime, use config
       3. If the runtime is set but not config.json, we use runtime
       4. If both are set, we use runtime

    '''
    lookup[key] = value or lookup.get(key)
    return lookup
def setconfig(lookup, key, value=None):
    '''setconfig will update a lookup to give priority based on the following:
 
       1. If both values are None, we set the value to None
       2. If the currently set (the config.json) is set but not runtime, use config
       3. If the runtime is set but not config.json, we use runtime
       4. If both are set, we use runtime

    '''
    lookup[key] = value or lookup.get(key)
    return lookup
setconfig will update a lookup to give priority based on the following:
 
       1. If both values are None, we set the value to None
       2. If the currently set (the config.json) is set but not runtime, use config
       3. If the runtime is set but not config.json, we use runtime
       4. If both are set, we use runtime