[IMP] base_cron_exclusion: black, isort, prettier

pull/2225/head
Christopher Ormaza 2021-12-10 11:11:07 -05:00
parent 276f0ae1a3
commit 416bd03603
3 changed files with 8 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class IrCron(models.Model):
GROUP BY cron_id;""",
(job_id, job_id),
)
locked_ids = tuple([row[0] for row in lock_cr.fetchall()])
locked_ids = tuple(row[0] for row in lock_cr.fetchall())
if locked_ids:
lock_cr.execute(
"""SELECT *

View File

@ -0,0 +1 @@
../../../../base_cron_exclusion

View File

@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)