Removed unnecessary shutil.rmtree for CONFIG_SHELVE file.

This commit is contained in:
Bahadir Balban
2009-09-23 15:19:36 +03:00
parent 7d1719e080
commit a2d2676303

View File

@@ -173,8 +173,6 @@ class configuration:
def configuration_save(config):
if not os.path.exists(CONFIG_SHELVE_DIR):
os.mkdir(CONFIG_SHELVE_DIR)
if os.path.exists(CONFIG_SHELVE):
shutil.rmtree(CONFIG_SHELVE)
config_shelve = shelve.open(CONFIG_SHELVE)
config_shelve["configuration"] = config