def _load_from_environment(self):
        '''Load any config options from the environment if they exist.'''
        for key in sorted(self.config.keys()):
            if os.environ.get(key) is not None:
                print('Using \'{key}\' from environment ...'.format(key=key))

                if key in self.boolean_settings:
                    self.config[key] = util.boolify(os.environ[key])
                else:
                    self.config[key] = os.environ[key]
dataset/ETHPy150Open mblayman/markwiki/markwiki/application.py/MarkWikiApp._load_from_environment/original