py23 Use new-style classes
Such that we get the same semantics in both Python 2 and 3.
diff --git a/Lib/fontTools/ttLib/sfnt.py b/Lib/fontTools/ttLib/sfnt.py
index 30c48bc..da5c79d 100644
--- a/Lib/fontTools/ttLib/sfnt.py
+++ b/Lib/fontTools/ttLib/sfnt.py
@@ -18,7 +18,7 @@
import struct
-class SFNTReader:
+class SFNTReader(object):
def __init__(self, file, checkChecksums=1, fontNumber=-1):
self.file = file
@@ -101,7 +101,7 @@
self.file.close()
-class SFNTWriter:
+class SFNTWriter(object):
def __init__(self, file, numTables, sfntVersion="\000\001\000\000",
flavor=None, flavorData=None):
@@ -340,7 +340,7 @@
woffDirectoryEntrySize = sstruct.calcsize(woffDirectoryEntryFormat)
-class DirectoryEntry:
+class DirectoryEntry(object):
def __init__(self):
self.uncompressed = False # if True, always embed entry raw