[PATCH evemu 05/16] python: update the __all__ listing for the evemu module

Benjamin Tissoires benjamin.tissoires at gmail.com
Tue Aug 12 10:47:49 PDT 2014


On Mon, Aug 11, 2014 at 9:34 PM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> Export the new class and the two public conversion functions.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
>  python/evemu/__init__.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/python/evemu/__init__.py b/python/evemu/__init__.py
> index f58ab4f..928ef8d 100644
> --- a/python/evemu/__init__.py
> +++ b/python/evemu/__init__.py
> @@ -29,7 +29,7 @@ import evemu.base
>  import evemu.const
>  import evemu.event_names
>
> -__all__ = ["Device"]
> +__all__ = ["Device", "InputEvent", "event_get_value", "event_get_name"]

amended locally to have one class/function per line, so as to beautify 08/16.

Cheers,
Benjamin

>
>  def event_get_value(event_type, event_code = None):
>      """
> --
> 1.9.3
>
> _______________________________________________
> Input-tools mailing list
> Input-tools at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/input-tools


More information about the Input-tools mailing list