aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/language/python.rb
diff options
context:
space:
mode:
authorTim D. Smith2016-07-29 08:45:26 -0700
committerGitHub2016-07-29 08:45:26 -0700
commit209d9e8a6eaad3b554f825dbefbfa7e37e20e006 (patch)
tree5d0134e0dff6c67607db6c1b03b70a107b657c36 /Library/Homebrew/language/python.rb
parent3469f177f043b163e0c362b0fa10f9f99c31114b (diff)
downloadbrew-209d9e8a6eaad3b554f825dbefbfa7e37e20e006.tar.bz2
Refurbish args in virtualenv (#600)
Instead of adding additional lines to formula.rb: https://git.io/vKxxh just turn on argument refurbishment for any formula that creates a virtualenv. cf Homebrew/ruby-macho#50, Homebrew/homebrew-core#1663
Diffstat (limited to 'Library/Homebrew/language/python.rb')
-rw-r--r--Library/Homebrew/language/python.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/language/python.rb b/Library/Homebrew/language/python.rb
index 3abe77ead..53aae2eb4 100644
--- a/Library/Homebrew/language/python.rb
+++ b/Library/Homebrew/language/python.rb
@@ -119,6 +119,7 @@ module Language
# @param formula [Formula] the active Formula
# @return [Virtualenv] a {Virtualenv} instance
def virtualenv_create(venv_root, python = "python", formula = self)
+ ENV.refurbish_args
venv = Virtualenv.new formula, venv_root, python
venv.create
venv