diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-09-29 11:55:10 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-09-29 11:55:10 +0000 |
commit | 9935853fa13c834d644512a561835b72a5bf3dc8 (patch) | |
tree | d1de4bb660661afc28793758373a5b4c9b1bd219 /src/lib/Server/Plugins | |
parent | 74118024ce239a00dce3258f60eb743c4583c0ac (diff) | |
download | bcfg2-9935853fa13c834d644512a561835b72a5bf3dc8.tar.gz bcfg2-9935853fa13c834d644512a561835b72a5bf3dc8.tar.bz2 bcfg2-9935853fa13c834d644512a561835b72a5bf3dc8.zip |
Get rid of errant newlines (Resolves #599 for real this time)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4925 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins')
-rw-r--r-- | src/lib/Server/Plugins/Cfg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Cfg.py b/src/lib/Server/Plugins/Cfg.py index f1c2a605f..3a4341e73 100644 --- a/src/lib/Server/Plugins/Cfg.py +++ b/src/lib/Server/Plugins/Cfg.py @@ -18,7 +18,7 @@ def process_delta(data, delta): elif line[0] == '-': if line[1:] in datalines: datalines.remove(line[1:]) - return "\n".join(datalines) + "\n" + return "\n".join(datalines) elif delta.op == 'diff': basefile = open(tempfile.mktemp(), 'w') basefile.write(data) |