From 201c4f1edd3721cbc4b9da8fd2eb1b01206cfad8 Mon Sep 17 00:00:00 2001 From: Josh Kalderimis Date: Mon, 11 Mar 2013 23:47:39 +1300 Subject: [PATCH] use only_if instead of not_if --- ci_environment/python/recipes/multi.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci_environment/python/recipes/multi.rb b/ci_environment/python/recipes/multi.rb index 002bba72a..e9b9a694b 100644 --- a/ci_environment/python/recipes/multi.rb +++ b/ci_environment/python/recipes/multi.rb @@ -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 @@ -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