From 0db8cb249a4ffe5a382780e708c9528cc623d46d Mon Sep 17 00:00:00 2001 From: "Afshin T. Darian" Date: Wed, 31 Mar 2021 16:58:18 +0100 Subject: [PATCH] Remove unnecessary future imports --- jupyter_server/__main__.py | 1 - jupyter_server/_sysinfo.py | 4 +--- jupyter_server/utils.py | 2 -- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/jupyter_server/__main__.py b/jupyter_server/__main__.py index 0df765623b..12eaa92455 100644 --- a/jupyter_server/__main__.py +++ b/jupyter_server/__main__.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import if __name__ == '__main__': from jupyter_server import serverapp as app diff --git a/jupyter_server/_sysinfo.py b/jupyter_server/_sysinfo.py index d11c625cb6..731e09f8e3 100644 --- a/jupyter_server/_sysinfo.py +++ b/jupyter_server/_sysinfo.py @@ -6,8 +6,6 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. -from __future__ import absolute_import - import os import platform import pprint @@ -60,7 +58,7 @@ def pkg_commit_hash(pkg_path): else: return u'', u'' par_path = p.dirname(par_path) - + return u'', u'' diff --git a/jupyter_server/utils.py b/jupyter_server/utils.py index e6f0430a03..04b1175e9b 100644 --- a/jupyter_server/utils.py +++ b/jupyter_server/utils.py @@ -3,8 +3,6 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. -from __future__ import print_function - import asyncio import errno import inspect