=== modified file 'bin/addons/base/module/module.py' --- bin/addons/base/module/module.py 2009-06-12 11:00:33 +0000 +++ bin/addons/base/module/module.py 2009-06-25 09:59:27 +0000 @@ -184,6 +184,7 @@ 'state': lambda *a: 'uninstalled', 'demo': lambda *a: False, 'license': lambda *a: 'GPL-2', + 'certificat': lambda *a: None, } _order = 'name' @@ -480,7 +481,7 @@ if not mod.description: logger.notifyChannel("init", netsvc.LOG_WARNING, 'module %s: description is empty !' % (mod.name,)) - if not mod.certificate: + if not mod.certificate or not mod.certificate.isdigit(): logger.notifyChannel('init', netsvc.LOG_WARNING, 'module %s: no quality certificate' % (mod.name,)) else: val = long(mod.certificate[2:]) % 97 == 29