VirtualMailManager/cli/handler.py
branchv0.6.x
changeset 346 95d45e4ec1a6
parent 341 6709d0faf2f5
child 361 971577b89d26
equal deleted inserted replaced
345:f8d5c8bb8bce 346:95d45e4ec1a6
    43                                               'v', 'version')
    43                                               'v', 'version')
    44         super(CliHandler, self).__init__(skip_some_checks)
    44         super(CliHandler, self).__init__(skip_some_checks)
    45 
    45 
    46         self._cfg = Cfg(self._cfg_fname)
    46         self._cfg = Cfg(self._cfg_fname)
    47         self._cfg.load()
    47         self._cfg.load()
    48         if not skip_some_checks:
       
    49             self._cfg.check()
       
    50             self._chkenv()
       
    51 
    48 
    52     def cfg_set(self, option, value):
    49     def cfg_set(self, option, value):
    53         """Set a new value for the given option."""
    50         """Set a new value for the given option."""
    54         return self._cfg.set(option, value)
    51         return self._cfg.set(option, value)
    55 
    52