Skip to content

Commit a5e31c3

Browse files
committed
Py2/3 compatibility: Added __future__ import.
- Legacy-Id: 16452
1 parent 28472a4 commit a5e31c3

10 files changed

Lines changed: 39 additions & 2 deletions

File tree

ietf/api/views.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Copyright The IETF Trust 2017-2019, All Rights Reserved
22
# -*- coding: utf-8 -*-
3-
4-
3+
from __future__ import absolute_import, print_function, unicode_literals
54

65
from jwcrypto.jwk import JWK
76

ietf/doc/views_draft.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Copyright The IETF Trust 2010-2019, All Rights Reserved
22
# -*- coding: utf-8 -*-
33

4+
5+
from __future__ import absolute_import, print_function, unicode_literals
6+
47
# changing state and metadata on Internet Drafts
58

69
import datetime

ietf/group/management/commands/show_group_features.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# -*- coding: utf-8 -*-
33

44

5+
from __future__ import absolute_import, print_function, unicode_literals
6+
57
import collections
68

79
from django.core.management.base import BaseCommand

ietf/liaisons/views.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# Copyright The IETF Trust 2007-2019, All Rights Reserved
2+
# -*- coding: utf-8 -*-
3+
4+
5+
from __future__ import absolute_import, print_function, unicode_literals
6+
27
import json
38
from email.utils import parseaddr
49

ietf/nomcom/views.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# Copyright The IETF Trust 2012-2019, All Rights Reserved
2+
# -*- coding: utf-8 -*-
3+
4+
5+
from __future__ import absolute_import, print_function, unicode_literals
6+
27
import datetime
38
import re
49
from collections import OrderedDict, Counter

ietf/secr/proceedings/views.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# Copyright The IETF Trust 2013-2019, All Rights Reserved
2+
# -*- coding: utf-8 -*-
3+
4+
5+
from __future__ import absolute_import, print_function, unicode_literals
6+
27
import datetime
38
import glob
49
import itertools

ietf/secr/telechat/views.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# Copyright The IETF Trust 2013-2019, All Rights Reserved
2+
# -*- coding: utf-8 -*-
3+
4+
5+
from __future__ import absolute_import, print_function, unicode_literals
6+
27
import datetime
38

49
from django.contrib import messages

ietf/secr/utils/ams_utils.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# Copyright The IETF Trust 2013-2019, All Rights Reserved
2+
# -*- coding: utf-8 -*-
3+
4+
5+
from __future__ import absolute_import, print_function, unicode_literals
6+
27
from django.conf import settings
38

49
from ietf.person.models import Person

ietf/stats/utils.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# Copyright The IETF Trust 2017-2019, All Rights Reserved
2+
# -*- coding: utf-8 -*-
3+
4+
5+
from __future__ import absolute_import, print_function, unicode_literals
6+
27
import re
38
import requests
49
from collections import defaultdict

ietf/stats/views.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Copyright The IETF Trust 2016-2019, All Rights Reserved
22
# -*- coding: utf-8 -*-
33

4+
5+
from __future__ import absolute_import, print_function, unicode_literals
6+
47
import os
58
import calendar
69
import datetime

0 commit comments

Comments
 (0)