diff options
Diffstat (limited to 'meta/packages/yum/createrepo-native/fix.patch')
-rw-r--r-- | meta/packages/yum/createrepo-native/fix.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/packages/yum/createrepo-native/fix.patch b/meta/packages/yum/createrepo-native/fix.patch new file mode 100644 index 0000000000..4fe58e379d --- /dev/null +++ b/meta/packages/yum/createrepo-native/fix.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | --- | ||
2 | createrepo/yumbased.py | 2 ++ | ||
3 | 1 file changed, 2 insertions(+) | ||
4 | |||
5 | Index: createrepo-0.9/createrepo/yumbased.py | ||
6 | =================================================================== | ||
7 | --- createrepo-0.9.orig/createrepo/yumbased.py 2008-08-26 11:41:13.000000000 +0100 | ||
8 | +++ createrepo-0.9/createrepo/yumbased.py 2008-08-26 11:37:01.000000000 +0100 | ||
9 | @@ -37,6 +37,8 @@ class CreateRepoPackage(YumLocalPackage) | ||
10 | self._hdrend = None | ||
11 | |||
12 | def _xml(self, item): | ||
13 | + if item == []: | ||
14 | + return [] | ||
15 | return xml.sax.saxutils.escape(item) | ||
16 | |||
17 | def _do_checksum(self): | ||