Current Path: > > opt > alt > python27 > lib > > python2.7 > site-packages > pip > _internal > > cli
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__init__.py | File | 132 bytes | November 13 2023 21:11:11. | |
__init__.pyc | File | 318 bytes | November 13 2023 21:11:11. | |
autocompletion.py | File | 6547 bytes | November 13 2023 21:11:11. | |
autocompletion.pyc | File | 5877 bytes | November 13 2023 21:11:11. | |
base_command.py | File | 9302 bytes | November 13 2023 21:11:11. | |
base_command.pyc | File | 8622 bytes | November 13 2023 21:11:11. | |
cmdoptions.py | File | 28782 bytes | November 13 2023 21:11:11. | |
cmdoptions.pyc | File | 27450 bytes | November 13 2023 21:11:11. | |
command_context.py | File | 975 bytes | November 13 2023 21:11:11. | |
command_context.pyc | File | 1991 bytes | November 13 2023 21:11:11. | |
main.py | File | 2616 bytes | November 13 2023 21:11:11. | |
main.pyc | File | 1886 bytes | November 13 2023 21:11:11. | |
main_parser.py | File | 2843 bytes | November 13 2023 21:11:11. | |
main_parser.pyc | File | 2882 bytes | November 13 2023 21:11:11. | |
parser.py | File | 9480 bytes | November 13 2023 21:11:11. | |
parser.pyc | File | 12177 bytes | November 13 2023 21:11:11. | |
progress_bars.py | File | 9121 bytes | November 13 2023 21:11:11. | |
progress_bars.pyc | File | 12028 bytes | November 13 2023 21:11:11. | |
req_command.py | File | 15132 bytes | November 13 2023 21:11:11. | |
req_command.pyc | File | 13357 bytes | November 13 2023 21:11:11. | |
spinners.py | File | 5509 bytes | November 13 2023 21:11:11. | |
spinners.pyc | File | 7659 bytes | November 13 2023 21:11:11. | |
status_codes.py | File | 156 bytes | November 13 2023 21:11:11. | |
status_codes.pyc | File | 482 bytes | November 13 2023 21:11:11. |
from contextlib import contextmanager from pip._vendor.contextlib2 import ExitStack from pip._internal.utils.typing import MYPY_CHECK_RUNNING if MYPY_CHECK_RUNNING: from typing import Iterator, ContextManager, TypeVar _T = TypeVar('_T', covariant=True) class CommandContextMixIn(object): def __init__(self): # type: () -> None super(CommandContextMixIn, self).__init__() self._in_main_context = False self._main_context = ExitStack() @contextmanager def main_context(self): # type: () -> Iterator[None] assert not self._in_main_context self._in_main_context = True try: with self._main_context: yield finally: self._in_main_context = False def enter_context(self, context_provider): # type: (ContextManager[_T]) -> _T assert self._in_main_context return self._main_context.enter_context(context_provider)
SILENT KILLER Tool