[yum-commits] yum/update_md.py
zpavlas at osuosl.org
zpavlas at osuosl.org
Tue Jan 8 12:32:05 UTC 2013
yum/update_md.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e563445de41e3829a13a04831637c94f0c442eb7
Author: ZdenÄk Pavlas <zpavlas at redhat.com>
Date: Tue Jan 8 13:31:17 2013 +0100
Also add / for updated tag in XML output. BZ 887935.
diff --git a/yum/update_md.py b/yum/update_md.py
index e75d133..d719be8 100644
--- a/yum/update_md.py
+++ b/yum/update_md.py
@@ -332,7 +332,7 @@ class UpdateNotice(object):
to_xml(self._md['description']))
if self._md['updated']:
# include the updated date in the generated xml
- msg += """ <updated date="%s">\n""" % (to_xml(self._md['updated'], attrib=True))
+ msg += """ <updated date="%s"/>\n""" % (to_xml(self._md['updated'], attrib=True))
if self._md['summary']:
msg += """ <summary>%s</summary>\n""" % (to_xml(self._md['summary']))
if self._md['solution']:
More information about the Yum-commits
mailing list