openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #02337
[Merge] lp:~meths/openlp/trivialfixes into lp:openlp
Jon Tibble has proposed merging lp:~meths/openlp/trivialfixes into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
Fix song saving
--
https://code.launchpad.net/~meths/openlp/trivialfixes/+merge/29238
Your team OpenLP Core is requested to review the proposed merge of lp:~meths/openlp/trivialfixes into lp:openlp.
=== modified file 'openlp/plugins/songs/lib/xml.py'
--- openlp/plugins/songs/lib/xml.py 2010-07-05 11:39:48 +0000
+++ openlp/plugins/songs/lib/xml.py 2010-07-05 21:26:24 +0000
@@ -77,8 +77,9 @@
The actual text of the verse to be stored.
"""
#log.debug(u'add_verse_to_lyrics %s, %s\n%s' % (type, number, content))
- verse = etree.SubElement(self.lyrics, u'verse', type=type, label=number)
+ verse = etree.Element(u'verse', type=type, label=number)
verse.text = etree.CDATA(content)
+ self.lyrics.append(verse)
def dump_xml(self):
"""
Follow ups