test: xkeyboard-config: handle keyboard interrupts correctly
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 30 Oct 2019 01:22:49 +0000 (11:22 +1000)
committerRan Benita <ran234@gmail.com>
Fri, 1 Nov 2019 08:24:03 +0000 (10:24 +0200)
commitcd5a24aa38894f5e38f265a6ea121e3aa7b67d1a
treef77bab6b1dc6710de41b0fcc4dfd60ccc895d1ff
parent9fc0cb8777a3e87b2b521c735940c50f5925e239
test: xkeyboard-config: handle keyboard interrupts correctly

In python multiprocessing, each process needs to handle (and ignore) the
KeyboardInterrupt to avoid exception logging. This is a separate patch for
easier reviewing, the first hunks merely re-indent all of the
xkbcommontool/xkbcomp functions into a try/except KeyboardInterrupt block.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/xkeyboard-config-test.py.in