def METHOD_NAME(self, index, attr):
    if (index == 1):
        attr_file = self.PSU1_PREFIX + attr
    elif (index == 2):
        attr_file = self.PSU2_PREFIX + attr
    else:
        logging.error("Invalid PSU number:", index)
        return ''
    return attr_file