mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: fix python step wakeup
This commit is contained in:
parent
8c2e7a5781
commit
e88f679c87
@ -321,8 +321,9 @@ class ConfigStep(models.Model):
|
||||
'PatchSet': PatchSet,
|
||||
}
|
||||
|
||||
def _run_python(self, build, log_path):
|
||||
def _run_python(self, build, log_path, force=False):
|
||||
eval_ctx = self.make_python_ctx(build)
|
||||
eval_ctx['force'] = force
|
||||
try:
|
||||
safe_eval(self.python_code.strip(), eval_ctx, mode="exec", nocopy=True)
|
||||
run = eval_ctx.get('run')
|
||||
|
Loading…
Reference in New Issue
Block a user