diff options
author | Sayamindu Dasgupta <sayamindu@gmail.com> | 2009-03-24 18:59:36 (GMT) |
---|---|---|
committer | Sayamindu Dasgupta <sayamindu@gmail.com> | 2009-03-24 19:02:58 (GMT) |
commit | e16cf854aaa513c5b14f7a7d71a5d226443ce68c (patch) | |
tree | 04730c13a584ee01e2926fb0cb35fd4acb202ee1 /extensions | |
parent | 04bbd8aa51c46b965f0ad0f86df168c820927649 (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() |