mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 05:15:45 +07:00
[FIX] runbot: fix forgotten cleanup
This commit is contained in:
parent
18b37d9002
commit
a3d908ac03
@ -507,7 +507,7 @@ class runbot_build(models.Model):
|
|||||||
if os.path.isdir(path) and os.path.isabs(path):
|
if os.path.isdir(path) and os.path.isabs(path):
|
||||||
shutil.rmtree(path)
|
shutil.rmtree(path)
|
||||||
|
|
||||||
cleanup(dest_list=builds, func=rm, max_days=max_days, label='workspace')
|
cleanup(dest_list=builds, func=rm, max_days_main=max_days_main, max_days_child=max_days_child, label='workspace')
|
||||||
|
|
||||||
def _find_port(self):
|
def _find_port(self):
|
||||||
# currently used port
|
# currently used port
|
||||||
|
Loading…
Reference in New Issue
Block a user