From 1e52f3856cb085a4604c37a7189f286fdb0d409e Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sat, 24 Jan 2015 18:01:25 +0100 Subject: [PATCH] venv: Fix handling of --cache --- scripts/init_venv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/init_venv.py b/scripts/init_venv.py index 5c480bda3..4f4f83141 100644 --- a/scripts/init_venv.py +++ b/scripts/init_venv.py @@ -66,7 +66,7 @@ def parse_args(): action='store_true') parser.add_argument('--cache', help="Cache the clean virtualenv and " "copy it when a new one is requested.", - default=False, nargs='?', const='', metavar='NAME') + default=None, nargs='?', const='', metavar='NAME') parser.add_argument('path', help="Path to the venv folder", default='.venv', nargs='?') return parser.parse_args()