From b1e985b2cb489cc72637dde0590256cf0a7c5633 Mon Sep 17 00:00:00 2001 From: Vratislav Podzimek Date: Mon, 6 Jul 2015 11:16:34 +0200 Subject: [PATCH 2/9] Add newline and one blank line after the %addon section (#1238267) Otherwise invalid kickstarts are produced when multiple addons are in the game (as reported in the bug). Signed-off-by: Vratislav Podzimek --- org_fedora_oscap/ks/oscap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org_fedora_oscap/ks/oscap.py b/org_fedora_oscap/ks/oscap.py index 12e1772..9e95486 100644 --- a/org_fedora_oscap/ks/oscap.py +++ b/org_fedora_oscap/ks/oscap.py @@ -129,7 +129,7 @@ class OSCAPdata(AddonData): if self.certificates: ret += "\n%s" % key_value_pair("certificates", self.certificates) - ret += "\n%end" + ret += "\n%end\n\n" return ret def _parse_content_type(self, value): -- 2.4.3