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