rhythmbox r5718 - in trunk: . plugins/lyrics/lyrics
- From: jmatthew svn gnome org
- To: svn-commits-list gnome org
- Subject: rhythmbox r5718 - in trunk: . plugins/lyrics/lyrics
- Date: Sat, 7 Jun 2008 02:03:01 +0000 (UTC)
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]