aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-06-03 16:59:11 -0500
committerJack Nagel2013-06-03 17:03:09 -0500
commitf970e6d3a5bc1abf70577e38c540eb9c6e48a778 (patch)
treecd8e8de64d5330e024ec2a7cd5dc6c069d220958 /Library
parenta9b6929a69cece04dc29642ffa190eb9e7d32109 (diff)
downloadhomebrew-f970e6d3a5bc1abf70577e38c540eb9c6e48a778.tar.bz2
Remove unnecessary use of instance_eval
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index bf64044b3..4a24552ef 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -307,7 +307,7 @@ class Formula
def python(options={:allowed_major_versions => [2, 3]}, &block)
require 'python_helper'
- self.instance_eval{ python_helper(options, &block) }
+ python_helper(options, &block)
end
# Explicitly only execute the block for 2.x (if a python 2.x is available)