From 263cec533d10993f0bd26f1aedc05d9883c46add Mon Sep 17 00:00:00 2001 From: Bryan Gardiner Date: Thu, 26 Sep 2024 19:17:40 -0700 Subject: [PATCH] Fix type declaration on print_packages() pname parameter. --- src/nvd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/nvd b/src/nvd index 812f96e..ed9c724 100755 --- a/src/nvd +++ b/src/nvd @@ -39,14 +39,15 @@ import argparse import fnmatch -from itertools import pairwise import os import os.path import re import subprocess import sys from abc import abstractmethod +from collections.abc import Collection from functools import cmp_to_key, total_ordering +from itertools import pairwise from pathlib import Path from signal import SIGPIPE, SIG_DFL, signal from subprocess import PIPE @@ -544,7 +545,7 @@ def render_versions( def print_packages( *, - pnames: Iterable[str], + pnames: Collection[str], sort_comparator: Optional[PackageListEntryComparator], selected_sets: PackageSetPair, left_package_set: PackageSet,