Remove unused variable
This commit is contained in:
parent
e1c5c0b3ff
commit
df00d28af4
|
@ -61,7 +61,6 @@ class Config(object):
|
||||||
"""
|
"""
|
||||||
def __init__(self, filename, defaults=None, config_dir=None):
|
def __init__(self, filename, defaults=None, config_dir=None):
|
||||||
self.__config = {}
|
self.__config = {}
|
||||||
self.__previous_config = {}
|
|
||||||
self.__set_functions = {}
|
self.__set_functions = {}
|
||||||
self.__change_callback = None
|
self.__change_callback = None
|
||||||
# This will get set with a reactor.callLater whenever a config option
|
# 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))
|
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
|
self.__config[key] = value
|
||||||
# Run the set_function for this key if any
|
# Run the set_function for this key if any
|
||||||
from twisted.internet import reactor
|
from twisted.internet import reactor
|
||||||
|
|
Loading…
Reference in New Issue