def unserialize(self, str, obj_type):
        try:
            root = ElementTree.fromstring(str)
            return self.read_xml_object(obj_type, root)
        except SyntaxError, e:
            msg = "Invalid VisTrails serialized object %s" % str
            raise VistrailsDBException(msg)
            return None
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/db/versions/v0_9_0/persistence/__init__.py/DAOList.unserialize/original