mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
parent
188f81ef3d
commit
08c4c9647b
@ -22,6 +22,7 @@ import yaml
|
||||
from django.conf import settings
|
||||
from django.core.management.base import NoArgsCommand, CommandError
|
||||
from django.db import connection, transaction
|
||||
from django.utils.encoding import smart_text
|
||||
|
||||
# AWX
|
||||
from awx.main.models import * # noqa
|
||||
@ -606,7 +607,7 @@ class Command(NoArgsCommand):
|
||||
break
|
||||
instance_id = from_dict.get(key, default)
|
||||
from_dict = instance_id
|
||||
return instance_id
|
||||
return smart_text(instance_id)
|
||||
|
||||
def _get_enabled(self, from_dict, default=None):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user