builder: add "[ignored]" to parsing errors for .conf files

Parsing sources .conf files is not a fatal error (that file would just
be ignored), so explicitly state that such parsing errors are ignored.

This should address the last bit in RHBZ#1077817.
This commit is contained in:
Pino Toscano
2014-04-22 17:58:27 +02:00
parent e7c746854b
commit 4f5dc4afdc

View File

@@ -35,7 +35,7 @@ let parse_conf ~prog ~debug file =
if debug then (
eprintf (f_"%s: trying to read %s\n") prog file;
);
let sections = Ini_reader.read_ini ~prog file in
let sections = Ini_reader.read_ini ~prog ~error_suffix:"[ignored]" file in
let sources = List.fold_right (
fun (n, fields) acc ->