- Return empty list if a repo doesn't contain any module

This commit is contained in:
Stepan Oksanichenko 2023-11-15 13:17:57 +02:00
parent 0a9e5df66c
commit 65d0c09e97
Signed by: soksanichenko
GPG Key ID: AB9983172AB1E45B

View File

@ -279,6 +279,7 @@ class PackagesGenerator:
return list(self._parse_modules_file( return list(self._parse_modules_file(
repomd_record_file_path, repomd_record_file_path,
)) ))
return []
@staticmethod @staticmethod
def compare_pkgs_version(package_1: Package, package_2: Package) -> int: def compare_pkgs_version(package_1: Package, package_2: Package) -> int: