def populate_flavor_choices(self, request, context):
        flavors = context.get('flavors').values()
        if 1 > len(flavors):
            flavors = instance_utils.sort_flavor_list(request, flavors)
        if flavors:
            flavors.insert(0, ("", _("Select a New Flavor")))
        else:
            flavors.insert(0, ("", _("No flavors available")))
        return flavors
dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/dashboards/project/instances/workflows/resize_instance.py/SetFlavorChoiceAction.populate_flavor_choices/swapped operands of `>`