aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2015-11-19 19:28:48 -0500
committerTeddy Wing2015-11-19 19:28:48 -0500
commit549de182e493efc10448162c825a9e6c956e4af2 (patch)
tree09496fa9b189546605e90c98ea896389c902d9eb
parent17caaf63409a38ea7450ef00a7f58d982d02c38b (diff)
downloadRoboFont-Equalize-Sidebearings-Key-549de182e493efc10448162c825a9e6c956e4af2.tar.bz2
observer_test.py: Convert to new Python class
Inherit from `object` instead of not inheriting from anything to get a new Python class. Actually, now that I'm writing this message, I'm wondering if this may not be necessary since Python 3 defaults to new Python objects regardless of how you write it. But then again this is RoboFont and I'm not sure which Python version it's built against (was thinking of TruFont for a moment since I'm currently trying to build it).
-rw-r--r--observer_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/observer_test.py b/observer_test.py
index 26a963a..b339b4a 100644
--- a/observer_test.py
+++ b/observer_test.py
@@ -1,6 +1,6 @@
from mojo.events import addObserver
-class EqualizeSidebearings:
+class EqualizeSidebearings(object):
def __init__(self):
addObserver(self, 'center', 'spaceCenterKeyUp')