From b16392fbb9aee707c0449f10dab6bfd9ad4b8799 Mon Sep 17 00:00:00 2001 From: Nishant Sikarwar Date: Mon, 16 Jan 2023 01:05:36 +0530 Subject: [PATCH] Remove redundant imports (#1466) --- httpie/manager/__main__.py | 1 - httpie/manager/compat.py | 1 - 2 files changed, 2 deletions(-) diff --git a/httpie/manager/__main__.py b/httpie/manager/__main__.py index 922e3d2a..ba345662 100644 --- a/httpie/manager/__main__.py +++ b/httpie/manager/__main__.py @@ -52,7 +52,6 @@ def program(): try: exit_status = main() except KeyboardInterrupt: - from httpie.status import ExitStatus exit_status = ExitStatus.ERROR_CTRL_C return exit_status diff --git a/httpie/manager/compat.py b/httpie/manager/compat.py index 0f787eb8..18e18163 100644 --- a/httpie/manager/compat.py +++ b/httpie/manager/compat.py @@ -43,7 +43,6 @@ def _discover_system_pip() -> List[str]: def _run_pip_subprocess(pip_executable: List[str], args: List[str]) -> bytes: - import subprocess cmd = [*pip_executable, *args] try: