aboutsummaryrefslogtreecommitdiff
path: root/recipes/python/python-pyxdg/desktopentry-cmp.patch
blob: bb2905ab3de67631293ed4a8ea1b8706dd780c84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
This method definition causes an infinite recursion, and has been dropped
from later releases.

--- pyxdg-0.15/xdg/DesktopEntry.py.orig	2010-08-03 03:01:34.000000000 +0200
+++ pyxdg-0.15/xdg/DesktopEntry.py	2010-08-03 03:01:46.000000000 +0200
@@ -29,9 +29,6 @@
 	def __str__(self):
 		return self.getName()
 
-	def __cmp__(self, other):
-		return cmp(self, other)
-
 	def parse(self, file):
 		IniFile.parse(self, file, ["Desktop Entry", "KDE Desktop Entry"])