diff --git a/Tools/PyUtils/python/FilePeekerTool.py b/Tools/PyUtils/python/FilePeekerTool.py index 18b82f54c7e795f7b6a169f9236e1c675f66945c..da93fbdde436f6709113510918446e905cc5e1fb 100644 --- a/Tools/PyUtils/python/FilePeekerTool.py +++ b/Tools/PyUtils/python/FilePeekerTool.py @@ -265,7 +265,7 @@ class FilePeekerTool(): spec = a.specification() a_type = spec.typeName() if a_type.find('string') >= 0: - a_data = a.data('string')() + a_data = a.data['string']() # a_data = getattr(a, 'data<std::basic_string<char> >') () try: a_data = eval(a_data,{},{}) @@ -274,7 +274,7 @@ class FilePeekerTool(): pass # print (spec.name(),a_data, file=stdout) else: - a_data = a.data(a_type)() + a_data = a.data[a_type]() #print ("%s: %s %s" (spec.name(), a_data, type(a_data) ), file=stdout) attr_data.append( (spec.name(), a_data) ) attrs.append(dict(attr_data))