mirror of
https://gitlab.com/khumba/nvd.git
synced 2024-11-23 13:21:46 +01:00
Fix type declaration on print_packages() pname parameter.
This commit is contained in:
parent
bf4f249ff3
commit
263cec533d
1 changed files with 3 additions and 2 deletions
5
src/nvd
5
src/nvd
|
@ -39,14 +39,15 @@
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import fnmatch
|
import fnmatch
|
||||||
from itertools import pairwise
|
|
||||||
import os
|
import os
|
||||||
import os.path
|
import os.path
|
||||||
import re
|
import re
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
from abc import abstractmethod
|
from abc import abstractmethod
|
||||||
|
from collections.abc import Collection
|
||||||
from functools import cmp_to_key, total_ordering
|
from functools import cmp_to_key, total_ordering
|
||||||
|
from itertools import pairwise
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from signal import SIGPIPE, SIG_DFL, signal
|
from signal import SIGPIPE, SIG_DFL, signal
|
||||||
from subprocess import PIPE
|
from subprocess import PIPE
|
||||||
|
@ -544,7 +545,7 @@ def render_versions(
|
||||||
|
|
||||||
def print_packages(
|
def print_packages(
|
||||||
*,
|
*,
|
||||||
pnames: Iterable[str],
|
pnames: Collection[str],
|
||||||
sort_comparator: Optional[PackageListEntryComparator],
|
sort_comparator: Optional[PackageListEntryComparator],
|
||||||
selected_sets: PackageSetPair,
|
selected_sets: PackageSetPair,
|
||||||
left_package_set: PackageSet,
|
left_package_set: PackageSet,
|
||||||
|
|
Loading…
Reference in a new issue