My favorites | Sign in
Project Logo
       
New issue | Search
for
| Advanced search | Search tips
Issue 5: percent_translated divide by 0 on empty po files.
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  izimobil
Closed:  Apr 2008
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by mbonetti, Apr 29, 2008
What steps will reproduce the problem?
1. Create a .po file with no entries 
2.
3.

What is the expected output? What do you see instead?

Should probably return 100% raises a divide by 0 instead

What version of the product are you using? On what operating system?

SVN

Please provide any additional information below.

Fix: if total == 0: return 100

Note: originally reported here: 
http://code.google.com/p/django-rosetta/issues/detail?id=8


Comment 1 by izimobil, Apr 30, 2008
Fixed in svn, thanks.
Status: Fixed
Owner: izimobil
Sign in to add a comment

Hosted by Google Code