def get_interpolated_option(self, option, default_value=None):
        tried = [option]
        while True:
            option_value = utils.get_deep(self.options, [option])
            if option_value is None:
                return default_value
            else:
                if not isinstance(option_value, six.string_types):
                    return option_value
                if option_value.startswith("$"):
                    maybe_option = option_value[1:]
                    if maybe_option in tried:
                        tried.append(maybe_option)
                        raise excp.ConfigException(tried % "Option loop %s detected")
                    else:
                        tried.append(maybe_option)
                        option = maybe_option
                else:
                    return option_value
dataset/ETHPy150Open openstack/anvil/anvil/components/base.py/Component.get_interpolated_option/swapped operands of `%`