polib.py raise a IOException when po file has a commented line in blank

Issue #33 resolved
Angel Abad
created an issue

Hi Izi, Im debian/ubuntu polib maintainer, This bug was filled in ubuntu bug tracker:

If the po file contains a empty comment line, for example:

. The next line is commented


. This also

The parser raise a IO exception.

Please see:

And patch:

If you think the patch is correct I can apply it in my packages before you release fix version.


Comments (5)

  1. David Jean Louis repo owner

    Hi Angel,

    I'm a bit confused by the patch on launchpad since it doesn't fix the described issue, the patch is on the flagline (#,) code block and the issue is related to comments (#.).

    I wouldn't recommend you fix the issue in your package but wait for a fix here instead.


  2. Log in to comment