def get_name(self):
    exe = self.held_object
    if isinstance(exe, build.Executable):
        return exe.name
    return exe.get_name()
def get_name(self):
    exe = self.held_object
    if isinstance(exe, build.Executable):
        return exe.name
    return exe.get_name()