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
commitef0920e01d171497a45226bd8ab83b17c3151376 (patch)
treec0845b03f1442b0a9022bde625cd05e8104703c1 /Library
parentba0ce82b68881b217ab147f61735e9bf673df0d9 (diff)
downloadbrew-ef0920e01d171497a45226bd8ab83b17c3151376.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)