Hi,

I've found something in the "save" function of config.py. I think that part is getting us in trouble :

(Line 279)
        # Make a backup of the old config
        try:
log.debug("Backing up old config file to %s~", filename)
            shutil.move(filename, filename + "~")
        except Exception, e:
            log.error("Error backing up old config..")
            return

Since foo.conf doesn't exist (in first use), it can't move foo.conf to foo.conf~. So the function doesn't go on to the part where the foo.conf is saved. So Deluge creates *.conf.new files but never move them to *.conf files because of the backup failure.

Regards,
Jerome.






--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to