Skip to content

Commit 855716e

Browse files
committed
Py2/3 compatibility: Added __future__ import
- Legacy-Id: 16448
1 parent 1fae783 commit 855716e

5 files changed

Lines changed: 18 additions & 1 deletion

File tree

ietf/checks.py

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

ietf/doc/views_search.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright The IETF Trust 2009-2019, All Rights Reserved
22
# -*- coding: utf-8 -*-
3-
3+
#
44
# Some parts Copyright (C) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
55
# All rights reserved. Contact: Pasi Eronen <pasi.eronen@nokia.com>
66
#
@@ -33,6 +33,9 @@
3333
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3434
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3535

36+
37+
from __future__ import absolute_import, print_function, unicode_literals
38+
3639
import re
3740
import datetime
3841

ietf/redirects/views.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
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
26

37
from django.http import HttpResponsePermanentRedirect, Http404, BadHeaderError
48
from django.shortcuts import get_object_or_404

ietf/submit/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 2011-2019, All Rights Reserved
22
# -*- coding: utf-8 -*-
33

4+
5+
from __future__ import absolute_import, print_function, unicode_literals
6+
47
import re
58
import base64
69
import datetime

ietf/utils/management/commands/send_gdpr_consent_request.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 datetime
68
import time
79

0 commit comments

Comments
 (0)