[FIX] changed loglevel to debug for missing module descriptor messages

bzr revid: odo@openerp.com-20100401120024-6s60u16p29t6mvkt
This commit is contained in:
Olivier Dony 2010-04-01 14:00:24 +02:00
parent d69ca9424e
commit 16749901c7
1 changed files with 4 additions and 1 deletions

View File

@ -306,7 +306,10 @@ def load_information_from_description_file(module):
if os.path.isfile(description_file):
return eval(tools.file_open(description_file).read())
logging.warning('The module %s does not contain a description file: __openerp__.py or __terp__.py (deprecated)' % module)
#TODO: refactor the logger in this file to follow the logging guidelines
# for 6.0
logging.getLogger('addons').debug('The module %s does not contain a description file:'\
'__openerp__.py or __terp__.py (deprecated)', module)
return {}
def get_modules_with_version():