mirror of
https://github.com/ansible/awx.git
synced 2026-04-10 12:39:22 -02:30
Use the normal version checker from tower manage
This commit is contained in:
@@ -1,13 +0,0 @@
|
|||||||
# Copyright (c) 2014 Ansible, Inc.
|
|
||||||
# All Rights Reserved
|
|
||||||
|
|
||||||
from django.core.management.base import BaseCommand
|
|
||||||
|
|
||||||
from awx import __version__ as tower_version
|
|
||||||
|
|
||||||
class Command(BaseCommand):
|
|
||||||
|
|
||||||
help = 'Emit the Tower version and exit'
|
|
||||||
|
|
||||||
def handle(self, *args, **options):
|
|
||||||
self.stdout.write(tower_version)
|
|
||||||
Reference in New Issue
Block a user