diff options
author | Nishant Sikarwar <nsikarwar@ch.iitr.ac.in> | 2023-01-16 01:05:36 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-15 11:35:36 -0800 |
commit | b16392fbb9aee707c0449f10dab6bfd9ad4b8799 (patch) | |
tree | 415d6cefada51179703d14f7523337a7657581e1 | |
parent | e73c3e6c249b89496b4f81fa20bb449911da79f1 (diff) |
Remove redundant imports (#1466)
-rw-r--r-- | httpie/manager/__main__.py | 1 | ||||
-rw-r--r-- | httpie/manager/compat.py | 1 |
2 files changed, 0 insertions, 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: |