diff --git a/deluge/config.py b/deluge/config.py index ab4acd632..09661d302 100644 --- a/deluge/config.py +++ b/deluge/config.py @@ -61,7 +61,6 @@ class Config(object): """ def __init__(self, filename, defaults=None, config_dir=None): self.__config = {} - self.__previous_config = {} self.__set_functions = {} self.__change_callback = None # This will get set with a reactor.callLater whenever a config option @@ -125,8 +124,6 @@ class Config(object): log.debug("Setting '%s' to %s of %s", key, value, type(value)) - # Make a copy of the current config prior to changing it - self.__previous_config.update(self.__config) self.__config[key] = value # Run the set_function for this key if any from twisted.internet import reactor