mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 11:27:36 -02:30
Remove 'awx-' prefix when reporting version
This commit is contained in:
@@ -71,6 +71,6 @@ def manage():
|
|||||||
# Now run the command (or display the version).
|
# Now run the command (or display the version).
|
||||||
from django.core.management import execute_from_command_line
|
from django.core.management import execute_from_command_line
|
||||||
if len(sys.argv) >= 2 and sys.argv[1] in ('version', '--version'):
|
if len(sys.argv) >= 2 and sys.argv[1] in ('version', '--version'):
|
||||||
sys.stdout.write('awx-%s\n' % __version__)
|
sys.stdout.write('%s\n' % __version__)
|
||||||
else:
|
else:
|
||||||
execute_from_command_line(sys.argv)
|
execute_from_command_line(sys.argv)
|
||||||
|
|||||||
Reference in New Issue
Block a user