From df00d28af4a0e15de743a298e843f960b1697d6c Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 18 Apr 2009 18:53:16 +0000 Subject: [PATCH] Remove unused variable --- deluge/config.py | 3 --- 1 file changed, 3 deletions(-) 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