Commits

Anonymous committed 933f4c5

Fix for msgfmt -c error

  • Participants
  • Parent commits fab1da4

Comments (0)

Files changed (1)

translations/lib/types/pot.py

         Raises a ValueError in case the file has errors.
         """
         try:
-            p = run_command('msgfmt -c -', _input=po_contents)
+            p = run_command('msgfmt -o /dev/null -c -', _input=po_contents)
         except CommandError:
             # TODO: Figure out why gettext is not working here
             raise ValueError, "Your file does not" \