ctrochalakis / tx-submissions (http://transifex.org/)

fork of transifex

GSoC '08: Introducing a new transifex submission system, an api and a command line client
Clone URL : http://bitbucket.org/ctrochalakis/tx-submissions/ (size: 1.4 MB)
commit 461: f0ee96c182bf
parent 460: df99e7948a58
branch: default
Fix for false positive msgfmt errors. Thanks Toshio.
Christos Trochalakis / ctrochalakis
4 months ago

Changed (Δ13 bytes):

raw changeset »

transifex/util.py (1 lines added, 1 lines removed)

Up to file-list transifex/util.py:

@@ -104,7 +104,7 @@ def check_podata(contents):
104
104
    0
105
105
    """
106
106
    try:
107
        p = run_command('msgfmt -c -', _input=contents)
107
        p = run_command('msgfmt -o /dev/null -c -', _input=contents)
108
108
        return True
109
109
    except CommandError:
110
110
        return False