diff options
author | James E.H. Turner <jturner@gemini.edu> | 2016-08-30 15:40:59 -0400 |
---|---|---|
committer | James E.H. Turner <jturner@gemini.edu> | 2016-08-30 15:40:59 -0400 |
commit | 021fde88ec45b8bdd31b117e9986c8561d44df90 (patch) | |
tree | f23f756c369f4363a98b7c5276f5267262f6339e /scripts | |
parent | 68a4c87f27046192af9fdc9a89496d7b92494665 (diff) | |
download | astroconda-iraf-helpers-021fde88ec45b8bdd31b117e9986c8561d44df90.tar.gz |
Add newlines when appending a new entry, now that ";\n\nkeep" gets added without one at the start.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update_extern_pkg | 2 |
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): |