mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-23 18:04:34 +00:00
Make pylint happy
This commit is contained in:
@@ -6,7 +6,13 @@ import threading
|
||||
|
||||
from distutils.util import strtobool
|
||||
|
||||
from pythonjsonlogger import jsonlogger
|
||||
_logger = logging.getLogger(__name__)
|
||||
|
||||
try:
|
||||
from pythonjsonlogger import jsonlogger
|
||||
except ImportError:
|
||||
jsonlogger = None # noqa
|
||||
_logger.debug("Cannot 'import pythonjsonlogger'.")
|
||||
|
||||
|
||||
def is_true(strval):
|
||||
|
||||
Reference in New Issue
Block a user