entropy computation in IS_STRONG, thanks Jonathan
This commit is contained in:
+2
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user