This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: lircd2toml: do not fail on unexpected input Author: Sean Young <s...@mess.org> Date: Fri Aug 9 08:23:38 2019 +0100 The lircd daemon just warns on this. For example: https://sourceforge.net/p/lirc-remotes/code/ci/master/tree/remotes/bang&olufsen/Beo4.lircd.conf Signed-off-by: Sean Young <s...@mess.org> contrib/lircd2toml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=55dd66ee1c18d72d84f1987c93878e0103eb0871 diff --git a/contrib/lircd2toml.py b/contrib/lircd2toml.py index 5a60cfaae273..057292398221 100755 --- a/contrib/lircd2toml.py +++ b/contrib/lircd2toml.py @@ -55,8 +55,8 @@ class LircdParser: break a = line.split(maxsplit=2) if a[0] != 'begin' or a[1] != 'remote': - self.error("expected 'begin remote', got '{} {}'".format(a[0], a[1])) - return None + self.warning("expected 'begin remote', got '{} {}'".format(a[0], a[1])) + continue if len(a) > 2 and a[2][0] != '#': self.error("unexpected {}".format(a[2])) return None _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits