From 9b341f8d858bf7b3131c9f73c8de146c60be7858 Mon Sep 17 00:00:00 2001 From: Buck Evan Date: Mon, 23 Feb 2015 11:59:16 -0800 Subject: python3: set x.y version correctly for HEAD. Closes #37118. Closes #37123. Signed-off-by: Mike McQuaid --- Library/Formula/python3.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula/python3.rb') diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb index 83e0fef82..067bed293 100644 --- a/Library/Formula/python3.rb +++ b/Library/Formula/python3.rb @@ -193,7 +193,7 @@ class Python3 < Formula end def xy - version.to_s.slice /(3.\d)/ + version.to_s.slice(/(3.\d)/) || "3.5" end def distutils_fix_superenv(args) -- cgit v1.2.3