diff options
author | Johannes Schleifenbaum <johannes@js-webcoding.de> | 2014-02-03 14:24:42 +0400 |
---|---|---|
committer | Johannes Schleifenbaum <johannes@js-webcoding.de> | 2014-02-03 14:25:47 +0400 |
commit | 7085892e470f02363d8b2c305adb3968be7177a2 (patch) | |
tree | ab9a8a49922b16a7a9e1d02942097c6c76182182 /lib | |
parent | 6addb15b15f3d59469d7569271b6449a2a164b87 (diff) |
remove remaining python references
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/gitlab/check.rake | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index 7391773860e..c91dedf74c7 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -312,52 +312,6 @@ namespace :gitlab do fix_and_rerun end end - - def check_python2_exists - print "Has python2? ... " - - # Python prints its version to STDERR - # so we can't just use run("python2 --version") - if run_and_match("which python2", /python2$/) - puts "yes".green - else - puts "no".red - try_fixing_it( - "Make sure you have Python 2.5+ installed", - "Link it to python2" - ) - for_more_information( - see_installation_guide_section "Packages / Dependencies" - ) - fix_and_rerun - end - end - - def check_python2_version - print "python2 is supported version? ... " - - # Python prints its version to STDERR - # so we can't just use run("python2 --version") - - unless run_and_match("which python2", /python2$/) - puts "can't check because of previous errors".magenta - return - end - - if `python2 --version 2>&1` =~ /2\.[567]\.\d/ - puts "yes".green - else - puts "no".red - try_fixing_it( - "Make sure you have Python 2.5+ installed", - "Link it to python2" - ) - for_more_information( - see_installation_guide_section "Packages / Dependencies" - ) - fix_and_rerun - end - end end |