diff options
Diffstat (limited to 'bin/emaint')
-rwxr-xr-x | bin/emaint | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emaint b/bin/emaint index 6f9977dee..e6d11fc15 100755 --- a/bin/emaint +++ b/bin/emaint @@ -40,7 +40,7 @@ class WorldHandler(object): def fix(self): errors = [] try: - open(portage_const.WORLD_FILE, "w").write("\n".join(self.okay)) + portage.write_atomic(portage_const.WORLD_FILE,"\n".join(self.okay)) except OSError: errors.append(portage_const.WORLD_FILE + " could not be opened for writing") return errors |