hwdb: don't error on empty hwdb file

This commit is contained in:
David Santamaría Rogado
2026-02-14 23:03:45 +01:00
parent 6d0e8271b4
commit babfd9cbaa

View File

@@ -350,7 +350,7 @@ def print_summary(fname, groups):
print(f'{fname}: {len(groups)} match groups, {n_matches} matches, {n_props} properties')
if n_matches == 0 or n_props == 0:
error(f'{fname}: no matches or props')
print(f'{fname}: no matches or props')
if __name__ == '__main__':
args = sys.argv[1:] or sorted([