From 0d3ba7541ef575a378995b79fc57da28afc909d4 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sun, 19 Feb 2012 17:57:44 -0800 Subject: [PATCH] Remove unnecessary migration function as this default value should be picked up from the DEFAULT_PREFS dictionary --- deluge/core/core.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/deluge/core/core.py b/deluge/core/core.py index b61e37cc2..de7f266b8 100644 --- a/deluge/core/core.py +++ b/deluge/core/core.py @@ -120,7 +120,6 @@ class Core(component.Component): # Get the core config self.config = deluge.configmanager.ConfigManager("core.conf") - self.config.run_converter((0, 1), 2, self.__migrate_config_1_to_2) self.config.save() # If there was an interface value from the command line, use it, but @@ -171,12 +170,6 @@ class Core(component.Component): except Exception, e: log.warning("Failed to load lt state: %s", e) - - def __migrate_config_1_to_2(self, config): - if 'sequential_download' not in config: - config['sequential_download'] = False - return config - def save_dht_state(self): """Saves the dht state to a file""" try: