From 11cfde338e7c9b173436a8bc20701072db86daab Mon Sep 17 00:00:00 2001 From: ivarne Date: Wed, 10 Sep 2014 17:51:37 +0200 Subject: [PATCH] Fix deprecation warning in Pkg caused by #7919 --- base/pkg/github.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/pkg/github.jl b/base/pkg/github.jl index 28b9543a6d869..8b6bcef435a23 100644 --- a/base/pkg/github.jl +++ b/base/pkg/github.jl @@ -39,7 +39,7 @@ function curl(url::String, opts::Cmd=``) header = (String=>String)[] for line in eachline(out) if !ismatch(r"^\s*$",line) - (k,v) = split(line, r":\s*", 2) + (k,v) = split(line, r":\s*"; limit=2) header[k] = v continue end