summaryrefslogtreecommitdiff
path: root/django/core/files/utils.py
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2016-05-23 22:43:55 -0300
committerRamiro Morales <cramm0@gmail.com>2016-05-27 21:02:14 -0300
commit6ab0d1358fc78077064aab88a4fb0a47ca116391 (patch)
tree7d58cc3ba2f085146430b704ea6b26a2287d9fc6 /django/core/files/utils.py
parent9407cc966b02e5ef69b7f561a6b972aff5d9c2e0 (diff)
downloaddjango-6ab0d1358fc78077064aab88a4fb0a47ca116391.tar.gz
Fixed #26645 -- Fixed potential makemessages failures on Windows.
This was reflected by 27 i18n test errors (not failures) on such platform caused by corrupt intermediate PO catalog files fed to `msgmerge(1)`. Made it handle in-memory PO/POT file contents with normalized line separators (`'\n'`). We need to perform manually this after using `subprocess.Popen` as we can't pass it `universal_newlines=True`. Also fixes #26670 in the process as this commit refactors the same code section.
Diffstat (limited to 'django/core/files/utils.py')
0 files changed, 0 insertions, 0 deletions