From 021fde88ec45b8bdd31b117e9986c8561d44df90 Mon Sep 17 00:00:00 2001 From: "James E.H. Turner" Date: Tue, 30 Aug 2016 16:40:59 -0300 Subject: Add newlines when appending a new entry, now that ";\n\nkeep" gets added without one at the start. --- scripts/update_extern_pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update_extern_pkg b/scripts/update_extern_pkg index e4b7890..4243e19 100755 --- a/scripts/update_extern_pkg +++ b/scripts/update_extern_pkg @@ -146,7 +146,7 @@ if match: # If there wasn't an existing entry, or the last one wasn't based on the # template, put the new entry at the end: else: - buffer += tempbuf + buffer += '{0}\n\n'.format(tempbuf) # Restore the "keep" line at the end (along with a semicolon to avoid an IRAF # parser bug when the last entry ends with a curly bracket): -- cgit