bzr revid: fp@tinyerp.com-20081122161418-8w20acsz5km2gwod
This commit is contained in:
Fabien Pinckaers 2008-11-22 17:14:18 +01:00
parent f952cbfc05
commit f10c8fcc66
1 changed files with 2 additions and 2 deletions

View File

@ -232,10 +232,10 @@ def init_module_objects(cr, module_name, obj_list):
#
def register_class(m):
global loaded
logger.notifyChannel('init', netsvc.LOG_INFO, 'addon:%s:registering classes' % m)
sys.stdout.flush()
if m in loaded:
return
logger.notifyChannel('init', netsvc.LOG_INFO, 'addon:%s:registering classes' % m)
sys.stdout.flush()
loaded.append(m)
mod_path = get_module_path(m)
if not os.path.isfile(mod_path+'.zip'):