File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Copyright The IETF Trust 2007-2019, All Rights Reserved
22# -*- coding: utf-8 -*-
33
4+
5+ from __future__ import absolute_import , print_function , unicode_literals
6+
47# Django settings for ietf project.
58# BASE_DIR and "settings_local" are from
69# http://code.djangoproject.com/wiki/SplitSettings
2427warnings .filterwarnings ("ignore" , message = "defusedxml.lxml is no longer supported and will be removed in a future release." , module = "tastypie" )
2528warnings .filterwarnings ("ignore" , message = "Duplicate index '.*' defined on the table" )
2629# Warnings found under Python 3.7:
30+ warnings .filterwarnings ("ignore" , message = "Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated" )
2731warnings .filterwarnings ("ignore" , message = "'U' mode is deprecated" , module = "docutils.io" )
2832warnings .filterwarnings ("ignore" , message = "'U' mode is deprecated" , module = "xml2rfc" )
2933warnings .filterwarnings ("ignore" , message = "'U' mode is deprecated" , module = "site" )
3236
3337try :
3438 import syslog
35- syslog .openlog ("datatracker" , syslog .LOG_PID , syslog .LOG_USER )
39+ syslog .openlog (str ( "datatracker" ) , syslog .LOG_PID , syslog .LOG_USER )
3640except ImportError :
3741 pass
3842
You can’t perform that action at this time.
0 commit comments