1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 15:21:13 +03:00

Demo data flake8 cleanup

This commit is contained in:
Matthew Jones 2016-04-15 15:14:10 -04:00
parent 8c4e4f4c0d
commit d1801bdf9f

View File

@ -36,12 +36,12 @@ class Command(BaseCommand):
i = Inventory.objects.create(name='Demo Inventory',
organization=o,
created_by=superuser)
h = Host.objects.create(name='localhost',
inventory=i,
variables="ansible_connection: local",
created_by=superuser)
jt = JobTemplate.objects.create(name='Demo Job Template',
project=p,
inventory=i,
credential=c)
Host.objects.create(name='localhost',
inventory=i,
variables="ansible_connection: local",
created_by=superuser)
JobTemplate.objects.create(name='Demo Job Template',
project=p,
inventory=i,
credential=c)
print('Default organization added.')