diff --git a/sahara_dashboard/content/data_processing/clusters/nodegroup_templates/workflows/create.py b/sahara_dashboard/content/data_processing/clusters/nodegroup_templates/workflows/create.py index 614ee6be..08a18865 100644 --- a/sahara_dashboard/content/data_processing/clusters/nodegroup_templates/workflows/create.py +++ b/sahara_dashboard/content/data_processing/clusters/nodegroup_templates/workflows/create.py @@ -389,7 +389,7 @@ class CheckboxSelectMultiple(forms.CheckboxSelectMultiple): final_attrs = self.build_attrs(attrs, name=name) output = [] initial_service = uuidutils.generate_uuid() - str_values = set([encoding.force_text(v) for v in value]) + str_values = set([encoding.force_str(v) for v in value]) for i, (option_value, option_label) in enumerate( itertools.chain(self.choices, choices)): current_service = option_value.split(':')[0] @@ -398,10 +398,10 @@ class CheckboxSelectMultiple(forms.CheckboxSelectMultiple): output.append("") service_description = _("%s processes: ") % current_service service_description = html.conditional_escape( - encoding.force_text(service_description)) + encoding.force_str(service_description)) output.append("" % service_description) initial_service = current_service - output.append(encoding.force_text("