entropy computation in IS_STRONG, thanks Jonathan

This commit is contained in:
mdipierro
2012-09-20 09:14:51 -05:00
parent 586d85cf08
commit 7a0cf446ba
3 changed files with 90 additions and 13 deletions
+2 -2
View File
@@ -155,9 +155,9 @@ def read_possible_plural_rules():
create list of all possible plural rules files
result is cached in PLURAL_RULES dictionary to increase speed
"""
plurals = {}
try:
import gluon.contrib.plural_rules as package
plurals = {}
import contrib.plural_rules as package
for importer, modname, ispkg in pkgutil.iter_modules(package.__path__):
if len(modname)==2:
module = __import__(package.__name__+'.'+modname,