mirror of
https://github.com/ansible/awx.git
synced 2026-01-28 23:04:41 -03:30
18 lines
524 B
Python
18 lines
524 B
Python
# Copyright (c) 2017 Ansible by Red Hat
|
|
# All Rights Reserved
|
|
|
|
# Borrow from another AWX command
|
|
from awx.main.management.commands.provision_instance import Command as OtherCommand
|
|
|
|
# Python
|
|
import warnings
|
|
|
|
|
|
class Command(OtherCommand):
|
|
|
|
def handle(self, *args, **options):
|
|
# TODO: delete this entire file in 3.3
|
|
warnings.warn('This command is replaced with `provision_instance` and will '
|
|
'be removed in release 3.3.')
|
|
return super(Command, self).handle(*args, **options)
|