From: David SantamarĂ­a Rogado Date: Sat, 14 Feb 2026 22:03:45 +0000 (+0100) Subject: hwdb: don't error on empty hwdb file X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=babfd9cbaacea8225380602190289bba65e6bfa7;p=thirdparty%2Fsystemd.git hwdb: don't error on empty hwdb file --- 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([