From d67dd317a19f33d38ca8ca6750f0c676480b4d4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Sat, 14 Sep 2019 17:11:08 +0200 Subject: [PATCH] libtools/Tool.py:Tool(): derive from object. --- libtools/Tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtools/Tool.py b/libtools/Tool.py index 911deb6..67d4aaa 100644 --- a/libtools/Tool.py +++ b/libtools/Tool.py @@ -4,7 +4,7 @@ # Copyright (c) 2018, 2019 Lucio Andrés Illanes Albornoz # -class Tool(): +class Tool(object): # {{{ onKeyboardEvent(self, brushColours, brushSize, canvas, dispatchFn, eventDc, keyChar, keyModifiers, mapPoint, viewRect) def onKeyboardEvent(self, brushColours, brushSize, canvas, dispatchFn, eventDc, keyChar, keyModifiers, mapPoint, viewRect): return False, False