Remove unnecessary use of instance_eval
This commit is contained in:
parent
ba0ce82b68
commit
ef0920e01d
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user