summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMartin Wilck <mwilck@suse.com>2018-05-16 16:19:10 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2018-05-25 16:26:45 +1000
commitc08f2f8988156aec6e222b434e15c382c9090a2c (patch)
tree59fa61fc67a7a4a043bd7037e83354a4c49bf3fc /tools
parent41f880a2179c13abfc5b535d08e202cb35ea49cb (diff)
libinput-measure-trackpoint-range: fix typo
Signed-off-by: Martin Wilck <mwilck@suse.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/libinput-measure-trackpoint-range2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libinput-measure-trackpoint-range b/tools/libinput-measure-trackpoint-range
index eac84e30..4053f9ff 100755
--- a/tools/libinput-measure-trackpoint-range
+++ b/tools/libinput-measure-trackpoint-range
@@ -48,7 +48,7 @@ class Delta(object):
self.x = x
self.y = y
- def __bool_(self):
+ def __bool__(self):
return self.x != 0 or self.y != 0