def __init__(self, filename=None): JSONLoader.__init__(self, filename) self._dirty = False self._fixtures = None self._fixture_hierarchy = None # The model really shouldn't contain a reference to its controller, but # this makes the current refactor easier self._controller = None
def __init__(self, filename=None): JSONLoader.__init__(self, filename)
def save(self): if self._dirty: self._data["fixtures"] = [f.pack() for f in self._fixtures] JSONLoader.save(self)
def __init__(self, filename=None): JSONLoader.__init__(self, filename) self._fixtures = None self._fixture_hierarchy = None