[Yum-devel] [PATCH 3/8] Add / to closing of updated too.
James Antill
james at and.org
Wed Jan 16 07:26:01 UTC 2013
---
yum/update_md.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/yum/update_md.py b/yum/update_md.py
index b9b60fc..3b22995 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']:
--
1.7.6.5
More information about the Yum-devel
mailing list