diff --git a/config.py b/config.py index e5498c5..e811ee8 100644 --- a/config.py +++ b/config.py @@ -372,10 +372,13 @@ class Config(object): self = self._cfgimpl_parent return self - def cfgimpl_previous_values(self, path): + def cfgimpl_previous_value(self, path): home, name = self._cfgimpl_get_home_by_path(path) return home._cfgimpl_previous_values[name] - + + def get_previous_value(self, name): + return home._cfgimpl_previous_values[name] + def add_warning(self, warning): self._cfgimpl_get_toplevel()._cfgimpl_warnings.append(warning)