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:
|
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
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user