chore: update import for python-json-logger (#8330)
The "jsonlogger" module became "json" in 3.1.0
This commit is contained in:
parent
6b77807c05
commit
9b372a31b4
|
@ -1,9 +1,9 @@
|
|||
# Copyright The IETF Trust 2024, All Rights Reserved
|
||||
from pythonjsonlogger import jsonlogger
|
||||
from pythonjsonlogger.json import JsonFormatter
|
||||
import time
|
||||
|
||||
|
||||
class DatatrackerJsonFormatter(jsonlogger.JsonFormatter):
|
||||
class DatatrackerJsonFormatter(JsonFormatter):
|
||||
converter = time.gmtime # use UTC
|
||||
default_msec_format = "%s.%03d" # '.' instead of ','
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ pyopenssl>=22.0.0 # Used by urllib3.contrib, which is used by PyQuery but not
|
|||
pyquery>=1.4.3
|
||||
python-dateutil>=2.8.2
|
||||
types-python-dateutil>=2.8.2
|
||||
python-json-logger>=2.0.7
|
||||
python-json-logger>=3.1.0
|
||||
python-magic==0.4.18 # Versions beyond the yanked .19 and .20 introduce form failures
|
||||
pymemcache>=4.0.0 # for django.core.cache.backends.memcached.PyMemcacheCache
|
||||
python-mimeparse>=1.6 # from TastyPie
|
||||
|
|
Loading…
Reference in a new issue