LGTM, thanks
On Mon, Apr 7, 2014 at 1:52 PM, Klaus Aehlig <[email protected]> wrote: > ...that was lost in the merge > > Signed-off-by: Klaus Aehlig <[email protected]> > --- > lib/config.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/lib/config.py b/lib/config.py > index 2f63a75..7aee598 100644 > --- a/lib/config.py > +++ b/lib/config.py > @@ -2515,7 +2515,8 @@ class ConfigWriter(object): > # Read the configuration data. If offline, read the file directly. > # If online, call WConfd. > if self._offline: > - raw_data = utils.ReadFile(self._cfg_file) > + try: > + raw_data = utils.ReadFile(self._cfg_file) > data_dict = serializer.Load(raw_data) > # Make sure the configuration has the right version > _ValidateConfig(data_dict) > -- > 1.9.1.423.g4596e3a > >
