Public bug reported:

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

#. The next line is commented
#.
#. This also

The parser raise a IO exception.

Ubuntu version:
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.1 LTS
Release:        12.04
Codename:       precise

** Affects: polib (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "This is simple solution for the bug"
   
https://bugs.launchpad.net/bugs/1068577/+attachment/3404011/+files/simpleParserForComments.patch

** Patch removed: "This is simple solution for the bug"
   
https://bugs.launchpad.net/ubuntu/+source/polib/+bug/1068577/+attachment/3404011/+files/simpleParserForComments.patch

** Description changed:

  If the po file contains a empty comment line, for example:
  
- #. The next line is commented 
- #. 
+ #. The next line is commented
+ #.
  #. This also
  
  The parser raise a IO exception.
- 
  
  Ubuntu version:
  Distributor ID:       Ubuntu
  Description:  Ubuntu 12.04.1 LTS
  Release:      12.04
  Codename:     precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1068577

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/polib/+bug/1068577/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to