mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 15:06:02 -03:30
fix unicode bug in launch error message
This commit is contained in:
@@ -419,7 +419,7 @@ class Credential(PasswordFieldsModel, CommonModelNameNotUnique, ResourceMixin):
|
||||
else:
|
||||
fmt_str = six.text_type('{}_{}')
|
||||
return fmt_str.format(type_alias, self.inputs.get('vault_id'))
|
||||
return str(type_alias)
|
||||
return six.text_type(type_alias)
|
||||
|
||||
@staticmethod
|
||||
def unique_dict(cred_qs):
|
||||
|
||||
Reference in New Issue
Block a user