get previous value
This commit is contained in:
parent
e8e81fb74b
commit
4106440cf4
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue