Skip to content

Commit

Permalink
Fix deprecation warning in Pkg caused by JuliaLang#7919
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarne committed Sep 10, 2014
1 parent 20cb87a commit 11cfde3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/pkg/github.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11cfde3

Please sign in to comment.