Commit c32b185e authored by Petr Pudlak's avatar Petr Pudlak
Browse files

Fix syntax and lint errors from the previous patch series


Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
parent 076e957c
......@@ -1200,7 +1200,7 @@ class ConfigWriter(object):
# configuration has already been modified, and we can't revert;
# the best we can do is to warn the user and save as is, leaving
# recovery to the user
config_errors = _UnlockedVerifyConfig
config_errors = self._UnlockedVerifyConfig()
if config_errors:
errmsg = ("Configuration data is not consistent: %s" %
(utils.CommaJoin(config_errors)))
......
......@@ -634,7 +634,7 @@ class ConfigMock(config.ConfigWriter):
def _OpenConfig(self, _accept_foreign):
self._config_data = self._mocked_config_store
def _WriteConfig(self, destination=None, feedback_fn=None):
def _WriteConfig(self, destination=None):
self._mocked_config_store = self._ConfigData()
def _GetRpc(self, _address_list):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment