summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames E.H. Turner <jturner@gemini.edu>2016-08-30 15:40:59 -0400
committerJames E.H. Turner <jturner@gemini.edu>2016-08-30 15:40:59 -0400
commit021fde88ec45b8bdd31b117e9986c8561d44df90 (patch)
treef23f756c369f4363a98b7c5276f5267262f6339e
parent68a4c87f27046192af9fdc9a89496d7b92494665 (diff)
downloadastroconda-iraf-helpers-021fde88ec45b8bdd31b117e9986c8561d44df90.tar.gz
Add newlines when appending a new entry, now that ";\n\nkeep" gets added without one at the start.
-rwxr-xr-xscripts/update_extern_pkg2
1 files changed, 1 insertions, 1 deletions
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):