mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-24 02:08:36 +00:00
Change CI to GitHub actions
Use copier template from oca/oca-addons-repo-template Target Python3.8 Apply linting Fix a missing call to super
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# Copyright 2020 Camptocamp SA
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)
|
||||
|
||||
from distutils.util import strtobool
|
||||
from os import environ
|
||||
|
||||
|
||||
def is_enabled():
|
||||
env_val = environ.get("ODOO_REQUESTS_LOGGING")
|
||||
return bool(strtobool(env_val or "0".lower()))
|
||||
Reference in New Issue
Block a user