#19584 closed Bug (fixed)
compilemessages does not report error when msgfmt fails or is missing
Reported by: | Kevin Michel | Owned by: | nobody |
---|---|---|---|
Component: | Internationalization | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
compile_messages does not check and propagate the return code of the os.system call to msgfmt :
https://github.com/django/django/blob/master/django/core/management/commands/compilemessages.py#L51
A quick grep tells that it's the only unchecked usage of os.system in Django.
Change History (4)
comment:1 by , 12 years ago
Component: | Translations → Internationalization |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Work in progress on this branch: https://github.com/ramiro/django/compare/19584-compilemessages