Navigation Menu

Skip to content

Commit

Permalink
jrnl: ditch resource array
Browse files Browse the repository at this point in the history
We stylistically prefer not to use the array unless there's a reason to, such
as one or more resources needing special handling in some manner.
  • Loading branch information
DomT4 committed Jul 2, 2016
1 parent acf9474 commit c6d3a7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/jrnl.rb
Expand Up @@ -51,8 +51,8 @@ class Jrnl < Formula

def install
ENV.prepend_create_path "PYTHONPATH", libexec/"vendor/lib/python2.7/site-packages"
%w[six pycrypto keyring parsedatetime python-dateutil pytz tzlocal].each do |r|
resource(r).stage do
resources.each do |r|
r.stage do
system "python", *Language::Python.setup_install_args(libexec/"vendor")
end
end
Expand Down

0 comments on commit c6d3a7e

Please sign in to comment.