diff options
| author | Jay (Open ERP) <jvo@tinyerp.com> | 2009-07-08 18:24:28 +0530 |
|---|---|---|
| committer | Jay (Open ERP) <jvo@tinyerp.com> | 2009-07-08 18:24:28 +0530 |
| commit | a472c61d6ef28f07c8c8138950d2a9527ff9d224 (patch) | |
| tree | eabdddf03238cdb52a83069319c5d82170ec6804 /bin/addons/base/module/module.py | |
| parent | 0505747a537fe8244854b30d7998c4db6e4c1e84 (diff) | |
[FIX] Certificate in non-digit format will not be accepted
lp bug: https://launchpad.net/bugs/392052 fixed
bzr revid: jvo@tinyerp.com-20090708125428-vhbhb7or1oeidjjo
Diffstat (limited to 'bin/addons/base/module/module.py')
| -rw-r--r-- | bin/addons/base/module/module.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/addons/base/module/module.py b/bin/addons/base/module/module.py index d239de2d022..6f818a69041 100644 --- a/bin/addons/base/module/module.py +++ b/bin/addons/base/module/module.py @@ -480,7 +480,7 @@ class module(osv.osv): if not mod.description: logger.notifyChannel("init", netsvc.LOG_WARNING, 'module %s: description is empty !' % (mod.name,)) - if not mod.certificateor or not mod.certificate.isdigit(): + 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 |
