Blob Blame History Raw
commit f1c0f9708e8bbaf5759a558221b6fe8eaad2c6f1
Author: Jasper St. Pierre <jstpierre@mecheye.net>
Date:   Tue Apr 30 01:53:36 2013 -0400

    MenuEditor: Consistently use os.remove

diff --git a/Alacarte/MenuEditor.py b/Alacarte/MenuEditor.py
index e280ca3..077b113 100644
--- a/Alacarte/MenuEditor.py
+++ b/Alacarte/MenuEditor.py
@@ -59,7 +59,7 @@ class MenuEditor(object):
     def restoreToSystem(self):
         self.restoreTree(self.tree.get_root_directory())
         try:
-            os.unlink(self.path)
+            os.remove(self.path)
         except OSError:
             pass