def get_used_languages(self, target):
    result = {}
    for i in target.sources:
        for (lang, c) in self.coredata.compilers.host.items():
            if c.can_compile(i):
                result[lang] = True
                break
    return result
def get_used_languages(self, target):
    result = {}
    for i in target.sources:
        for (lang, c) in self.coredata.compilers.host.items():
            if c.can_compile(i):
                result[lang] = True
                break
    return result