Remove redundant imports (#1466)

This commit is contained in:
Nishant Sikarwar 2023-01-16 01:05:36 +05:30 committed by GitHub
parent e73c3e6c24
commit b16392fbb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -52,7 +52,6 @@ def program():
try: try:
exit_status = main() exit_status = main()
except KeyboardInterrupt: except KeyboardInterrupt:
from httpie.status import ExitStatus
exit_status = ExitStatus.ERROR_CTRL_C exit_status = ExitStatus.ERROR_CTRL_C
return exit_status return exit_status

View File

@ -43,7 +43,6 @@ def _discover_system_pip() -> List[str]:
def _run_pip_subprocess(pip_executable: List[str], args: List[str]) -> bytes: def _run_pip_subprocess(pip_executable: List[str], args: List[str]) -> bytes:
import subprocess
cmd = [*pip_executable, *args] cmd = [*pip_executable, *args]
try: try: