fixed multi-arg .append() call, for Python 1.6 compatibility.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@89 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
parent
4ff3ba99a7
commit
83736c6ffd
@ -167,7 +167,7 @@ class XMLApplication(xmlproc.Application):
|
|||||||
self.root = (name, attrs, self.content_stack[-1])
|
self.root = (name, attrs, self.content_stack[-1])
|
||||||
else:
|
else:
|
||||||
list = []
|
list = []
|
||||||
self.content_stack[-1].append(name, attrs, list)
|
self.content_stack[-1].append((name, attrs, list))
|
||||||
self.content_stack.append(list)
|
self.content_stack.append(list)
|
||||||
|
|
||||||
def handle_data(self, data, start, end):
|
def handle_data(self, data, start, end):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user