2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2025-01-26 18:20:22 +01:00

Issue 1480 - force Node.children to the desired type

This commit is contained in:
Thomas Nagy 2014-09-20 14:29:16 +02:00
parent 74b5ffc153
commit 954056a782
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64

View File

@ -118,7 +118,8 @@ class Node(object):
self.name = data[0]
self.parent = data[1]
if data[2] is not None:
self.children = data[2]
# Issue 1480
self.children = self.dict_class(data[2])
if data[3] is not None:
self.sig = data[3]