From: Sai Rahul Poruri Date: Sat, 12 Sep 2020 12:27:53 +0000 (+0100) Subject: CLN : Remove utf-8 coding cookies in source files X-Git-Tag: v6.1.0b1~12^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2913%2Fhead;p=thirdparty%2Ftornado.git CLN : Remove utf-8 coding cookies in source files On Python 3, utf-8 is the default python source code encoding. so, the coding cookies on files that specify utf-8 are not needed anymore. modified: tornado/_locale_data.py modified: tornado/locale.py modified: tornado/test/curl_httpclient_test.py modified: tornado/test/httpclient_test.py modified: tornado/test/httputil_test.py modified: tornado/test/options_test.py modified: tornado/test/util_test.py --- diff --git a/tornado/_locale_data.py b/tornado/_locale_data.py index 91416d9b4..c706230ee 100644 --- a/tornado/_locale_data.py +++ b/tornado/_locale_data.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# # Copyright 2012 Facebook # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/tornado/locale.py b/tornado/locale.py index 52aa1af9d..654e83671 100644 --- a/tornado/locale.py +++ b/tornado/locale.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# # Copyright 2009 Facebook # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/tornado/test/curl_httpclient_test.py b/tornado/test/curl_httpclient_test.py index d8d42f6bd..994e8c808 100644 --- a/tornado/test/curl_httpclient_test.py +++ b/tornado/test/curl_httpclient_test.py @@ -1,4 +1,3 @@ -# coding: utf-8 from hashlib import md5 import unittest diff --git a/tornado/test/httpclient_test.py b/tornado/test/httpclient_test.py index 7b2a43c54..dc4608ec9 100644 --- a/tornado/test/httpclient_test.py +++ b/tornado/test/httpclient_test.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- import base64 import binascii from contextlib import closing diff --git a/tornado/test/httputil_test.py b/tornado/test/httputil_test.py index 2ebd90603..0fad403b9 100644 --- a/tornado/test/httputil_test.py +++ b/tornado/test/httputil_test.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- from tornado.httputil import ( url_concat, parse_multipart_form_data, diff --git a/tornado/test/options_test.py b/tornado/test/options_test.py index 075959260..6aedbec32 100644 --- a/tornado/test/options_test.py +++ b/tornado/test/options_test.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- import datetime from io import StringIO import os diff --git a/tornado/test/util_test.py b/tornado/test/util_test.py index 8ecd3519c..89aa9671a 100644 --- a/tornado/test/util_test.py +++ b/tornado/test/util_test.py @@ -1,4 +1,3 @@ -# coding: utf-8 from io import StringIO import re import sys