Fixed functionality with DrySessions
This commit is contained in:
parent
a03fe92410
commit
a6c9102271
@ -205,6 +205,8 @@ function println(gp::Session, str::AbstractString)
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
println(gp::DrySession, d::DataSource) = nothing
|
||||||
|
|
||||||
function println(gp::Session, d::DataSource)
|
function println(gp::Session, d::DataSource)
|
||||||
if typeof(gp) == concretetype(Session)
|
if typeof(gp) == concretetype(Session)
|
||||||
if !state.silent && state.verbose
|
if !state.silent && state.verbose
|
||||||
@ -231,7 +233,7 @@ function println(gp::Session, d::DataSource)
|
|||||||
end
|
end
|
||||||
|
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
writeread(gp::DrySession, str::AbstractString) = ""
|
writeread(gp::DrySession, str::AbstractString) = [""]
|
||||||
function writeread(gp::Session, str::AbstractString)
|
function writeread(gp::Session, str::AbstractString)
|
||||||
global state
|
global state
|
||||||
silent = state.silent
|
silent = state.silent
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user