Sets an option to a value.

def set(self, option, value):
        """
        Sets an option to a value.
        """
        if self.config is None:
            self.config = {}
        self.config[option] = value