Scott Kitterman pointed out that this isn't the right fix; as the comment above the os.rename points out, we rely on rename being atomic (otherwise a crash could result in a broken /etc/default/locale), and shutil.move isn't. What we should do instead, I think, is create the temporary file in the same directory as the original to make sure that it's on the same filesystem. I'm working on this.
-- Language Selector crashes when drag languages https://bugs.launchpad.net/bugs/645774 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs