[Tutor] help with a class

John washakie at gmail.com
Wed Aug 24 21:52:38 CEST 2011

Thank you. I've corrected the KeyError, and changed the function to:

    def overide_options(self, options, run_id=None):
        """ completely overide the options dict """

        assert isinstance(options, dict), "override options requires a dict"
        if run_id in self.run_queue:
            self.run_queue[run_id] = options
            self.options = options

More information about the Tutor mailing list