Skip to content

Commit 63ac687

Browse files
committed
Fix argument type for ca_bundle_info
1 parent 8d0e027 commit 63ac687

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/pip/_internal/commands/debug.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from types import ModuleType
2323
from typing import List, Optional, Dict
2424
from optparse import Values
25+
from pip._internal.configuration import Configuration
2526

2627
logger = logging.getLogger(__name__)
2728

@@ -164,9 +165,9 @@ def show_tags(options):
164165

165166

166167
def ca_bundle_info(config):
167-
# type: (Dict[str, str]) -> str
168+
# type: (Configuration) -> str
168169
levels = set()
169-
for key in config:
170+
for key, _ in config.items():
170171
levels.add(key.split('.')[0])
171172

172173
if not levels:

0 commit comments

Comments
 (0)