diff options
Diffstat (limited to 'SOURCES/filtermods.py')
-rwxr-xr-x | SOURCES/filtermods.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/SOURCES/filtermods.py b/SOURCES/filtermods.py index 9d7e33d..fbfe56c 100755 --- a/SOURCES/filtermods.py +++ b/SOURCES/filtermods.py @@ -706,13 +706,10 @@ def sort_kmods(depmod_pathname: str, config_str: str, variants=[], do_pictures=' def abbrev_list_for_report(alist: list[KMod]) -> str: tmp_str = [] - for kmod in alist[:2]: + for kmod in alist: if kmod.allowed_list: tmp_str.append('%s(%s)' % (kmod.name, ' '.join([x.name for x in kmod.allowed_list]))) ret = ', '.join(tmp_str) - other_len = len(alist[2:]) - if other_len > 0: - ret = ret + ' and %s other(s)' % (other_len) return ret |