rhythmbox r5718 - in trunk: . plugins/lyrics/lyrics



Author: jmatthew
Date: Sat Jun  7 02:03:01 2008
New Revision: 5718
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5718&view=rev

Log:
2008-06-07  Jonathan Matthew  <jonathan d14n org>

	patch by:  F. Steinel
	* plugins/lyrics/lyrics/LeoslyricsParser.py:
	Python 2.4 compatibility.  Fixes #531052.


Modified:
   trunk/ChangeLog
   trunk/plugins/lyrics/lyrics/LeoslyricsParser.py

Modified: trunk/plugins/lyrics/lyrics/LeoslyricsParser.py
==============================================================================
--- trunk/plugins/lyrics/lyrics/LeoslyricsParser.py	(original)
+++ trunk/plugins/lyrics/lyrics/LeoslyricsParser.py	Sat Jun  7 02:03:01 2008
@@ -31,7 +31,11 @@
 import re
 import rb
 
-from xml.etree import cElementTree
+# Python 2.4 compatibility
+try:
+	from xml.etree import cElementTree
+except:
+	import cElementTree
 
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]