mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 15:35:46 +07:00
Be more forgiving in detecting Modules Loaded
There is no problem yet, but this line is prone to future errors. This line catches all cases without having to pool the filesystem.
This commit is contained in:
parent
a1e4a428f1
commit
c0eadd5dac
@ -651,8 +651,7 @@ class runbot_build(osv.osv):
|
||||
v = {
|
||||
'job_end': time.strftime(openerp.tools.DEFAULT_SERVER_DATETIME_FORMAT, log_time),
|
||||
}
|
||||
logger = 'odoo.modules.loading' if os.path.exists(build.path('odoo')) else 'openerp.modules.loading'
|
||||
if grep(log_all, "%s: Modules loaded." % logger):
|
||||
if grep(log_all, ".modules.loading: Modules loaded."):
|
||||
if rfind(log_all, _re_error):
|
||||
v['result'] = "ko"
|
||||
elif rfind(log_all, _re_warning):
|
||||
|
Loading…
Reference in New Issue
Block a user