Blame SOURCES/commit-f1c0f97

5b2f0d
commit f1c0f9708e8bbaf5759a558221b6fe8eaad2c6f1
5b2f0d
Author: Jasper St. Pierre <jstpierre@mecheye.net>
5b2f0d
Date:   Tue Apr 30 01:53:36 2013 -0400
5b2f0d
5b2f0d
    MenuEditor: Consistently use os.remove
5b2f0d
5b2f0d
diff --git a/Alacarte/MenuEditor.py b/Alacarte/MenuEditor.py
5b2f0d
index e280ca3..077b113 100644
5b2f0d
--- a/Alacarte/MenuEditor.py
5b2f0d
+++ b/Alacarte/MenuEditor.py
5b2f0d
@@ -59,7 +59,7 @@ class MenuEditor(object):
5b2f0d
     def restoreToSystem(self):
5b2f0d
         self.restoreTree(self.tree.get_root_directory())
5b2f0d
         try:
5b2f0d
-            os.unlink(self.path)
5b2f0d
+            os.remove(self.path)
5b2f0d
         except OSError:
5b2f0d
             pass
5b2f0d