'@return: exports that match the specified tag and attribute, e.g. \'python\', \'path\'
@rtype: [L{Export}]'

def get_export(self, tag, attr):

    return [e.get(attr) for e in self.exports if (e.tag == tag) if (e.get(attr) is not None)]
