Skip to content

Commit 17b6a64

Browse files
committed
Import Command directly from base_command.py for pip inspect
... to avoid importing all of the network/index related modules.
1 parent e7c66cd commit 17b6a64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pip/_internal/commands/inspect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from pip import __version__
99
from pip._internal.cli import cmdoptions
10-
from pip._internal.cli.req_command import Command
10+
from pip._internal.cli.base_command import Command
1111
from pip._internal.cli.status_codes import SUCCESS
1212
from pip._internal.metadata import BaseDistribution, get_environment
1313
from pip._internal.utils.compat import stdlib_pkgs

0 commit comments

Comments
 (0)