From bdd3ccec65faf07a8e6c6243026208d1e087ef5d Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Thu, 6 Mar 2014 09:44:56 -0600 Subject: [PATCH] Un-escape newlines in delimiters for assemble module --- files/assemble | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/assemble b/files/assemble index a8c78256e23..f4a60caf230 100644 --- a/files/assemble +++ b/files/assemble @@ -107,6 +107,8 @@ def assemble_from_fragments(src_path, delimiter=None, compiled_regexp=None): continue fragment = "%s/%s" % (src_path, f) if delimit_me and delimiter: + # un-escape anything like newlines + delimiter = delimiter.decode('unicode-escape') tmp.write(delimiter) # always make sure there's a newline after the # delimiter, so lines don't run together