Skip to content

Commit

Permalink
use only_if instead of not_if
Browse files Browse the repository at this point in the history
  • Loading branch information
joshk committed Mar 11, 2013
1 parent 862a09a commit 201c4f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci_environment/python/recipes/multi.rb
Expand Up @@ -114,7 +114,7 @@

environment({ "VIRTUAL_ENV_DISABLE_PROMPT" => "true" })

not_if { !["python2.5", "2.5"].include?(py.to_s.downcase) }
only_if { ["python2.5", "2.5"].include?(py.to_s.downcase) }

action :nothing
end
Expand All @@ -134,7 +134,7 @@

environment({ "VIRTUAL_ENV_DISABLE_PROMPT" => "true" })

not_if { !["python2.5", "2.5"].include?(py.to_s.downcase) }
only_if { ["python2.5", "2.5"].include?(py.to_s.downcase) }

action :nothing
end
Expand Down

0 comments on commit 201c4f1

Please sign in to comment.