Skip to content

Commit

Permalink
fixed problem with not respecting --system (closes: pypa#1002)
Browse files Browse the repository at this point in the history
  • Loading branch information
galuszkak committed Oct 31, 2017
1 parent 72767c7 commit e3df9f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pipenv/cli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
import contextlib
import codecs
import functools
import os
import sys
import shutil
Expand Down Expand Up @@ -1051,7 +1052,7 @@ def do_lock(verbose=False, system=False, clear=False, pre=False):
verbose=verbose,
python=python_version(which('python', allow_global=system)),
clear=clear,
which=which,
which=functools.partial(which, allow_global=system),
which_pip=which_pip,
project=project,
pre=pre
Expand Down

0 comments on commit e3df9f4

Please sign in to comment.