Skip to content

Commit

Permalink
Fix argument type for ca_bundle_info
Browse files Browse the repository at this point in the history
  • Loading branch information
deveshks committed Jun 5, 2020
1 parent 8d0e027 commit 63ac687
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pip/_internal/commands/debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from types import ModuleType
from typing import List, Optional, Dict
from optparse import Values
from pip._internal.configuration import Configuration

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -164,9 +165,9 @@ def show_tags(options):


def ca_bundle_info(config):
# type: (Dict[str, str]) -> str
# type: (Configuration) -> str
levels = set()
for key in config:
for key, _ in config.items():
levels.add(key.split('.')[0])

if not levels:
Expand Down

0 comments on commit 63ac687

Please sign in to comment.