<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get(self, str_representation):
 """Retrieves a scale representation from it's string representation :param str_representation: scale string representation to be retrieved :type str_representation: string :raises: ScaleFormatError :returns: scale representation :rtype: ScaleRepresentation """

        for scale in self.SCALES:
            if str_representation in scale:
                return scale
        raise ScaleFormatError("Unsupported scale format: {0}".format(str_representation))