Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue #3901: environment variables parse in commands #4192

Closed
wants to merge 25 commits into from
Closed
Changes from 2 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
0cc804b
some tests.
Apr 13, 2020
9f8ad74
Changed case of variable in cmdparse.py.
Apr 13, 2020
a9ef4c8
Removed useless comment.
Apr 13, 2020
23fc2d8
Created a new class to manage unix shell variables.
Apr 14, 2020
9629b9b
Merge pull request #1 from Hammond95/issue/3901
Hammond95 Apr 14, 2020
9589c54
Fixed stupid bug in UnixShellEnvironmentVariable.
Apr 14, 2020
7d1f91b
Merge pull request #2 from Hammond95/issue/3901
Hammond95 Apr 14, 2020
228ea6c
Fixed bug in Script in case env_vars is None.
Apr 14, 2020
0c73db7
Merge pull request #3 from Hammond95/issue/3901
Hammond95 Apr 14, 2020
da3c6f0
Add exclusion of some characters (&, |) in the regex ENV_VAR_VALUE_RE…
Apr 14, 2020
a60e4d6
Merge pull request #5 from Hammond95/issue/3901
Hammond95 Apr 14, 2020
a651864
add file in news.
Apr 14, 2020
a69fb73
Merge pull request #6 from Hammond95/issue/3901
Hammond95 Apr 14, 2020
2565292
Merge branch 'master' into master
techalchemy Apr 23, 2020
7370fab
Merge branch 'master' into master
Hammond95 Apr 24, 2020
22eade3
Merge pull request #7 from pypa/master
Hammond95 May 3, 2020
9a3abaa
:chicken: coding.
May 3, 2020
c9bf2ad
Merge branch 'master' into issue/3901
May 3, 2020
ebdccf9
removed comments and prints
May 3, 2020
85bd47b
removed comment.
May 3, 2020
e1321ff
Merge pull request #8 from Hammond95/issue/3901
Hammond95 May 3, 2020
295dea3
Put back old behaviour in Script.parse.
May 3, 2020
a8ff046
Merge pull request #9 from Hammond95/issue/3901
Hammond95 May 3, 2020
d4929ff
changed back to single variable usage.
May 3, 2020
d61e97e
Merge pull request #10 from Hammond95/issue/3901
Hammond95 May 3, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pipenv/cmdparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, command, args=None, env_vars=None):
if args:
self._parts.extend(args)

for env_var in env_vars:
for env_var in (env_vars or []):
os.environ.putenv(
env_var.name(),
env_var.value()
Expand Down