Author: andar
Revision: 5088
Log:
Remove unused variable
Diff:
Modified: branches/1.1.0_RC/deluge/config.py
===================================================================
--- branches/1.1.0_RC/deluge/config.py 2009-04-18 18:46:01 UTC (rev 5087)
+++ branches/1.1.0_RC/deluge/config.py 2009-04-18 18:53:16 UTC (rev 5088)
@@ -71,7 +71,6 @@
"""
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 @@
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:
Modified: trunk/deluge/config.py
===================================================================
--- trunk/deluge/config.py 2009-04-18 18:46:01 UTC (rev 5087)
+++ trunk/deluge/config.py 2009-04-18 18:53:16 UTC (rev 5088)
@@ -61,7 +61,6 @@
"""
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 @@
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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---