Change the python script to generate event names to Python3
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 14 Feb 2020 02:46:56 +0000 (12:46 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 14 Feb 2020 02:50:16 +0000 (12:50 +1000)
It's well past time. If you need this to run on python2, patch it out locally.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
libevdev/make-event-names.py

index c834e60c48cc8535403acecc8c20aafccf4e8157..ded5eef41867601dd7127440edf5c352deb2643a 100755 (executable)
@@ -1,10 +1,9 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # Parses linux/input.h scanning for #define KEY_FOO 134
 # Prints C header files or Python files that can be used as
 # mapping and lookup tables.
 #
 
-from __future__ import print_function
 import re
 import sys