def override(self, key, value):
keys = key.split('<STR_LIT:.>')<EOL>if len(keys) > <NUM_LIT:1>:<EOL><INDENT>if keys[<NUM_LIT:0>] != "<STR_LIT>":<EOL><INDENT>raise AttributeError("<STR_LIT>" % key)<EOL><DEDENT>self.plugins.override(keys[<NUM_LIT:1>:], value)<EOL><DEDENT>else:<EOL><INDENT>self.overrides[key] = value<EOL>self._uncache(key)<EOL><DEDENT>
Set a setting to the given value.

        Note that `key` can be in dotted form, eg
        'plugins.release_hook.emailer.sender'.