From 20aa4c0cea2349746852f7a1ae780712c0cb366a Mon Sep 17 00:00:00 2001 From: Lucas David Traverso Date: Sun, 19 Apr 2015 04:39:59 -0300 Subject: [PATCH] django_manage: Use shebang in manage.py instead of hardcode python --- lib/ansible/modules/web_infrastructure/django_manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/web_infrastructure/django_manage.py b/lib/ansible/modules/web_infrastructure/django_manage.py index 17b0534ddf..201cd08303 100644 --- a/lib/ansible/modules/web_infrastructure/django_manage.py +++ b/lib/ansible/modules/web_infrastructure/django_manage.py @@ -238,7 +238,7 @@ def main(): _ensure_virtualenv(module) - cmd = "python manage.py %s" % (command, ) + cmd = "./manage.py %s" % (command, ) if command in noinput_commands: cmd = '%s --noinput' % cmd