From 6131154dd04cc29634db5907fb07dea40d0f9dbf Mon Sep 17 00:00:00 2001 From: Michael Krabbe Borregaard Date: Mon, 15 Apr 2019 15:13:22 +0200 Subject: [PATCH] mixing ios in println --- src/utils.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils.jl b/src/utils.jl index c41eb8a7..7ae64796 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -819,16 +819,16 @@ debugshow(io, x::AbstractArray) = print(io, summary(x)) function dumpdict(io::IO, plotattributes::KW, prefix = "", alwaysshow = false) _debugMode.on || alwaysshow || return - println() + println(io) if prefix != "" - println(prefix, ":") + println(io, prefix, ":") end for k in sort(collect(keys(plotattributes))) @printf("%14s: ", k) debugshow(io, plotattributes[k]) - println() + println(io) end - println() + println(io) end DD(io::IO, plotattributes::KW, prefix = "") = dumpdict(io, plotattributes, prefix, true) DD(plotattributes::KW, prefix = "") = DD(stdout, plotattributes, prefix)