Skip to content

Commit

Permalink
indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
yeruoforever committed Sep 27, 2021
1 parent 90934a4 commit b811775
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Empty file added .editorconfig
Empty file.
14 changes: 7 additions & 7 deletions src/init.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ function load_spark_defaults(d::Dict)
end
p = split(read(spark_defaults_conf, String), '\n', keepempty=false)
for x in p
if !startswith(x, "#") && !isempty(strip(x))
y=split(x, limit=2)
if size(y,1)==1
y=split(x, "=", limit=2)
end
d[y[1]]=strip(y[2])
end
if !startswith(x, "#") && !isempty(strip(x))
y=split(x, limit=2)
if size(y,1)==1
y=split(x, "=", limit=2)
end
d[y[1]]=strip(y[2])
end
end
return d
end

0 comments on commit b811775

Please sign in to comment.