# copy all items which don't exist below, except for those in the exclude list
def inherit(subConfig, superConfig, exclude = ('name', 'projects')):
- for name in list(superConfig.keys()):
+ for name in superConfig.keys():
if (not name in subConfig) and (not name in exclude):
subConfig[name] = superConfig[name]