From 4280a3220e38f95b4dd559a6de22713de0579a50 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 3671d8e3f..198b57434 100644 --- a/deluge/config.py +++ b/deluge/config.py @@ -71,7 +71,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 gobject.timeout_add whenever a config option @@ -135,8 +134,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 try: