Revert some map calls to list comps to correct bug introduced in rev. 14104

svn: r14191
This commit is contained in:
Gerald Britton
2010-02-02 13:56:15 +00:00
parent d6205d09d1
commit 7975d5c3c4
8 changed files with 9 additions and 9 deletions

View File

@ -67,7 +67,7 @@ class AttributeBase(object):
"""
Convert a serialized tuple of data to an object.
"""
self.attribute_list = map(Attribute().unserialize, data)
self.attribute_list = [Attribute().unserialize(item) for item in data]
def add_attribute(self, attribute):
"""