diff options
Diffstat (limited to 'dlpcvp.py')
-rwxr-xr-x | dlpcvp.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -79,7 +79,7 @@ def suse_packages(proj: str) -> Iterable[str]: raise -def parse_spec_in_dev_null(spec_file, pkg): +def parse_spec_in_dev_null(spec_file: str, pkg: str) -> Optional[Tuple[str, str]]: # rpm library generates awful lot of nonsensical goo on # stderr with open(os.devnull, 'wb') as nullf: @@ -181,7 +181,7 @@ def package_version(proj: str, pkg_name: str, con: sqlite3.Connection) \ spec_files.append(name) except HTTPError as ex: if ex.getcode() == 404: - log.error(f'Cannot accquire version of {pkg_name} in {proj}') + log.error(f'Cannot acquire version of {pkg_name} in {proj}') return None else: raise |