[elbe-devel] [PATCH 02/14] Debianize - TUI signals

Bastian Germann bage at linutronix.de
Thu Aug 1 14:48:47 CEST 2019


> From: Olivier Dion <dion at linutronix.de>
> 
> Simple enumeration of common signals to avoid written it over and over

written -> writing

> again.
> 
> Signed-off-by: Olivier Dion <dion at linutronix.de>

With this change
Reviewed-by: Bastian Germann <bage at linutronix.de>
> ---
>  elbepack/debianize/base/signal.py | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>  create mode 100644 elbepack/debianize/base/signal.py
> 
> diff --git a/elbepack/debianize/base/signal.py b/elbepack/debianize/base/signal.py
> new file mode 100644
> index 00000000..80ecf2db
> --- /dev/null
> +++ b/elbepack/debianize/base/signal.py
> @@ -0,0 +1,13 @@
> +# ELBE - Debian Based Embedded Rootfilesystem Builder
> +# Copyright (c) 2019 Olivier Dion <dion at linutronix.de>
> +#
> +# SPDX-License-Identifier: GPL-3.0-or-later
> +
> +
> +from enum import Enum
> +
> +
> +class SignalType(Enum):
> +    QUIT = "on_quit"
> +    CLICK = "on_click"
> +    FLUSH = "on_flush"
> 



More information about the elbe-devel mailing list