Skip to content

Commit

Permalink
0.4 pipe compatibility via new Compat
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Mar 11, 2015
1 parent 4c4f9d8 commit 8df98dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
julia 0.3
Compat 0.2
Compat 0.3
Dates
2 changes: 1 addition & 1 deletion src/pyinit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function dlopen_libpython(python::AbstractString)
ENV["PYTHONHOME"] = @windows? exec_prefix : pyconfigvar(python, "prefix") * ":" * exec_prefix
# Unfortunately, setting PYTHONHOME screws up Canopy's Python distro
try
run(`$python -c "import site"` |> DevNull .> DevNull)
run(pipe(`$python -c "import site"`, stdout=DevNull, stderr=DevNull))
catch
pop!(ENV, "PYTHONHOME")
end
Expand Down

0 comments on commit 8df98dd

Please sign in to comment.