blob: 4fe58e379dc05e50488c9cdcea2d3853b36e6ba6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
---
createrepo/yumbased.py | 2 ++
1 file changed, 2 insertions(+)
Index: createrepo-0.9/createrepo/yumbased.py
===================================================================
--- createrepo-0.9.orig/createrepo/yumbased.py 2008-08-26 11:41:13.000000000 +0100
+++ createrepo-0.9/createrepo/yumbased.py 2008-08-26 11:37:01.000000000 +0100
@@ -37,6 +37,8 @@ class CreateRepoPackage(YumLocalPackage)
self._hdrend = None
def _xml(self, item):
+ if item == []:
+ return []
return xml.sax.saxutils.escape(item)
def _do_checksum(self):
|