summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Resch <andrewresch@gmail.com>2009-04-18 18:53:16 +0000
committerAndrew Resch <andrewresch@gmail.com>2009-04-18 18:53:16 +0000
commit4280a3220e38f95b4dd559a6de22713de0579a50 (patch)
treebedc52c1a80f5127f4696a2b437911820a094e8e
parent713073569779a9601f19f939a3f64339172be629 (diff)
downloaddeluge-4280a3220e38f95b4dd559a6de22713de0579a50.tar.gz
deluge-4280a3220e38f95b4dd559a6de22713de0579a50.tar.bz2
deluge-4280a3220e38f95b4dd559a6de22713de0579a50.zip
Remove unused variable
-rw-r--r--deluge/config.py3
1 files changed, 0 insertions, 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: