Improve log message on check.

This commit is contained in:
Albert Cervera i Areny 2017-01-22 01:51:00 +01:00
parent 80706c449f
commit 2ae9ac9efe
1 changed files with 1 additions and 1 deletions

2
check
View File

@ -44,7 +44,7 @@ def check_data():
'company': company,
}):
for model in pool._pool[dbname]['model'].keys():
logger.info('Model: %s...' % model)
logger.info('Company: %d, Model: %s...' % (model, company))
Model = pool.get(model)
if not hasattr(Model, 'search'):
continue