diff options
author | Sayamindu Dasgupta <sayamindu@gmail.com> | 2009-03-24 18:59:36 (GMT) |
---|---|---|
committer | Sayamindu Dasgupta <sayamindu@gmail.com> | 2009-03-24 18:59:36 (GMT) |
commit | 3a6daf37f3bd02b40dc413d52025861284536090 (patch) | |
tree | 04730c13a584ee01e2926fb0cb35fd4acb202ee1 /extensions | |
parent | 512e7e826ddf031ba656bbe086903784cff65bb9 (diff) |
Avoid writing a spurious newline in ~/.i18n
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/cpsection/language/model.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/cpsection/language/model.py b/extensions/cpsection/language/model.py index e714dad..fe80410 100644 --- a/extensions/cpsection/language/model.py +++ b/extensions/cpsection/language/model.py @@ -74,7 +74,7 @@ def _write_i18n(langs): fd.close() else: fd = open(path, 'w') - fd.write('LANG="%s"\n' % langs[0]) + fd.write('LANG="%s"\n' % langs[0].strip("\n")) fd.write('LANGUAGE="%s"\n' % langstr) fd.close() |