From e7c293ae67a1bfc05de88d8eb843c79f08c936d2 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 28 Feb 2013 16:03:23 -0500 Subject: [PATCH] In django module if no virtualenv is specified, don't choke --- django_manage | 3 +++ 1 file changed, 3 insertions(+) diff --git a/django_manage b/django_manage index 006099b2e2a..94a72bcc703 100644 --- a/django_manage +++ b/django_manage @@ -109,7 +109,10 @@ def _fail(module, cmd, out, err, **kwargs): def _ensure_virtualenv(module): + venv_param = module.params['virtualenv'] + if venv_param is None: + return virtualenv = module.get_bin_path('virtualenv', True)