chore: update import for python-json-logger (#8330)

The "jsonlogger" module became "json" in 3.1.0
This commit is contained in:
Jennifer Richards 2024-12-12 13:40:49 -04:00 committed by GitHub
parent 6b77807c05
commit 9b372a31b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -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 ','

View file

@ -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