Fix poor logic in manager.py

This commit is contained in:
Jonathan Frederic 2016-02-26 15:41:24 -08:00
parent 29279e21e7
commit fa399450c4

View File

@ -26,11 +26,11 @@ class ConfigManager(LoggingConfigurable):
def set(self, section_name, data):
"""Set the config only to the user's config."""
self.write_config_manager.set(section_name, data)
return self.write_config_manager.set(section_name, data)
def update(self, section_name, new_data):
"""Update the config only to the user's config."""
self.write_config_manager.update(section_name, new_data)
return self.write_config_manager.update(section_name, new_data)
# Private API