mirror of
https://github.com/httpie/cli.git
synced 2024-11-21 23:33:12 +01:00
Remove redundant imports (#1466)
This commit is contained in:
parent
e73c3e6c24
commit
b16392fbb9
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user