Po parsing now works directly with an array of lines. The previous
commit93c4ed0f21cf6f5c3935a47ffb789e543c8de9ad
authorwinterstream <winterstream@54714841-351b-0410-a198-e36a94b762f5>
Mon, 9 Jun 2008 12:21:35 +0000 (9 12:21 +0000)
committerwinterstream <winterstream@54714841-351b-0410-a198-e36a94b762f5>
Mon, 9 Jun 2008 12:21:35 +0000 (9 12:21 +0000)
tree7510baacd000ca9542a57a50de103bbc2c536a73
parentf2c8889ca1b8347afa3d0d18746267adbe243672
Po parsing now works directly with an array of lines. The previous
version split the entire file contents into an array of lines, only
to join subarrays into strings, which it would pass to the unit parser,
which in its turn would split the strings into arrays of lines. This
inefficiency was remedied by simply factoring out the line array
handling code of the unit parsing code and calling that directly
on the main array of lines (from the file parsing method).

git-svn-id: http://translate.svn.sourceforge.net/svnroot/translate/src/trunk/translate@7518 54714841-351b-0410-a198-e36a94b762f5
storage/pypo.py