From 9449a161ec185f5dc34d65541d8a15afaad7b750 Mon Sep 17 00:00:00 2001 From: Joseph Nix Date: Tue, 4 Dec 2018 12:58:59 -0600 Subject: [PATCH] [master] Flipping incorrect comment explaining try/except --- assets/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/install.sh b/assets/install.sh index 38d27c70..9608579d 100644 --- a/assets/install.sh +++ b/assets/install.sh @@ -121,9 +121,9 @@ if 1: os.makedirs(lib_dir) except OSError: pass - try: + try: # virtualenv 16.1.0, 17+ check_output([sys.executable, './src/virtualenv.py', lib_dir], cwd=t) - except CalledProcessError: # virtualenv 16.1.0, 17+ + except CalledProcessError: # older virtualenv Popen([sys.executable, './virtualenv.py', lib_dir], cwd=t).wait() Popen([os.path.join(lib_dir, 'bin', 'pip'), 'install', '--upgrade', 'Lektor']).wait()