Skip to content

Commit

Permalink
Refurbish args in virtualenv (Homebrew#600)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tdsmith authored Jul 29, 2016
1 parent 3469f17 commit 209d9e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Library/Homebrew/language/python.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def self.included(base)
# @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
Expand Down

0 comments on commit 209d9e8

Please sign in to comment.