carlxaeron / django-rosetta

Automatically exported from code.google.com/p/django-rosetta
MIT License
0 stars 0 forks source link

polib breaks saving changes under python 2.5 #100

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
changes introduced in -r 110 break the compatibility with python 2.5

Looks like the kwarg "drop_whitespace" of textwrap.wrap was is new in 2.6.

This leads to an exception in views.py line 117 which results in the error 
message that the file is read only.

But i love this bug because my sysadmin decided to switch to 2.6 on the servers!

Original issue reported on code.google.com by defaultw...@gmail.com on 9 Feb 2011 at 2:05

GoogleCodeExporter commented 8 years ago
Good catch. I'll keep an eye on your ticket on Bitbucket hoping that David will 
fix this.
https://bitbucket.org/izi/polib/issue/18/usage-of-textwrap-breaks-compatibility

Original comment by mbonetti on 9 Feb 2011 at 2:32

GoogleCodeExporter commented 8 years ago
There we go. Fixed in r118.

Original comment by mbonetti on 12 Feb 2011 at 2:27