Py2/3 compatibility: Added __future__ import.

- Legacy-Id: 16452
This commit is contained in:
Henrik Levkowetz 2019-07-15 15:52:18 +00:00
parent 28472a462b
commit a5e31c3f40
10 changed files with 39 additions and 2 deletions

View file

@ -1,7 +1,6 @@
# Copyright The IETF Trust 2017-2019, All Rights Reserved
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
from jwcrypto.jwk import JWK

View file

@ -1,6 +1,9 @@
# Copyright The IETF Trust 2010-2019, All Rights Reserved
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
# changing state and metadata on Internet Drafts
import datetime

View file

@ -2,6 +2,8 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
import collections
from django.core.management.base import BaseCommand

View file

@ -1,4 +1,9 @@
# Copyright The IETF Trust 2007-2019, All Rights Reserved
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
import json
from email.utils import parseaddr

View file

@ -1,4 +1,9 @@
# Copyright The IETF Trust 2012-2019, All Rights Reserved
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
import datetime
import re
from collections import OrderedDict, Counter

View file

@ -1,4 +1,9 @@
# Copyright The IETF Trust 2013-2019, All Rights Reserved
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
import datetime
import glob
import itertools

View file

@ -1,4 +1,9 @@
# Copyright The IETF Trust 2013-2019, All Rights Reserved
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
import datetime
from django.contrib import messages

View file

@ -1,4 +1,9 @@
# Copyright The IETF Trust 2013-2019, All Rights Reserved
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
from django.conf import settings
from ietf.person.models import Person

View file

@ -1,4 +1,9 @@
# Copyright The IETF Trust 2017-2019, All Rights Reserved
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
import re
import requests
from collections import defaultdict

View file

@ -1,6 +1,9 @@
# Copyright The IETF Trust 2016-2019, All Rights Reserved
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
import os
import calendar
import datetime