From babfd9cbaacea8225380602190289bba65e6bfa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Santamar=C3=ADa=20Rogado?= Date: Sat, 14 Feb 2026 23:03:45 +0100 Subject: [PATCH] hwdb: don't error on empty hwdb file --- hwdb.d/parse_hwdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwdb.d/parse_hwdb.py b/hwdb.d/parse_hwdb.py index 87a2316c464..9e39911ae09 100755 --- a/hwdb.d/parse_hwdb.py +++ b/hwdb.d/parse_hwdb.py @@ -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([