You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that this makes no sense, but maybe something could explain why this has been the choice. It creates inconsistent output in diffs, uneeded extra space in disk, and so on... it is just a bad practice for text files.
Activity
akx commentedon Jan 25, 2022
Each message is followed by a trailing newline:
babel/babel/messages/pofile.py
Line 617 in 96acf86
It's easier to just print one rather than try to figure out when we're printing the last entry and elide the trailing newline.
Patches welcome, of course :)
fix(i18n): strip only a blank trailing line from po/pot files
fix(i18n): strip only a blank trailing line from po/pot files
fix(i18n): strip only a blank trailing line from po/pot files
fix(i18n): strip only a blank trailing line from po/pot files
fix(i18n): strip only a blank trailing line from po/pot files
fix(i18n): strip only a blank trailing line from po/pot files