From 83429a8658986ccd1c54e7085d5df31b01fe16fc Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Wed, 3 Mar 2021 21:40:10 +1100 Subject: Drop Python 2 installation support. --- mediagoblin/__init__.py | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'mediagoblin') diff --git a/mediagoblin/__init__.py b/mediagoblin/__init__.py index d4ecd745..88dedd28 100644 --- a/mediagoblin/__init__.py +++ b/mediagoblin/__init__.py @@ -14,16 +14,4 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -import warnings - -import six - from mediagoblin._version import __version__ - - -if six.PY2: - warnings.warn( - "MediaGoblin's Python 2 support will be removed in the next" - " release. Please consider switching to Python 3.", - DeprecationWarning, - ) -- cgit v1.2.3