We were grabbing everything - tabs, newlines, extra spaces - from
ils_events.xml, and we don't want to do that.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16667
dcc99617-32d9-48b4-a31d-
7c20da2025e4
Build the ILS event description
"""
if self.en_us_flag is True and content is not None:
- self.desc += content
+ self.desc = self.desc.strip() + ' ' + content.strip()
def endElement(self, name):
"""
Generate the event with the closed description
"""
+ self.desc = self.desc.strip()
if name == 'desc' and self.en_us_flag is True:
lineno = self.locator.getLineNumber()
event = "%d.%s" % (int(self.numcode), self.textcode)