commit | e388db566b9ba42669c7e353db4293cf27bc2a5b | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Thu Nov 28 14:26:58 2013 -0500 |
committer | Behdad Esfahbod <behdad@behdad.org> | Thu Nov 28 18:53:30 2013 -0500 |
tree | 72a887957b48f12120afd4a9a2c43bdb978a6c6d | |
parent | b475c03b4d6b41aeba9fc4cf6f4a4e065b4f714b [diff] [blame] |
py23 Use new-style classes Such that we get the same semantics in both Python 2 and 3.
diff --git a/Lib/fontTools/misc/xmlWriter.py b/Lib/fontTools/misc/xmlWriter.py index 11e8289..6862e91 100644 --- a/Lib/fontTools/misc/xmlWriter.py +++ b/Lib/fontTools/misc/xmlWriter.py
@@ -9,7 +9,7 @@ INDENT = " " -class XMLWriter: +class XMLWriter(object): def __init__(self, fileOrPath, indentwhite=INDENT, idlefunc=None): if not hasattr(fileOrPath, "write"):