Skip to content

Commit

Permalink
fix deprecated Dict constructor syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
samoconnor committed Oct 27, 2016
1 parent 3e678b3 commit 80c88f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zip_file.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function Archive(io::IO)
cache = Dict()
try
reader = ZipFile.Reader(io, false)
cache = Dict([f.name => "" for f in reader.files])
cache = Dict(f.name => "" for f in reader.files)
end
Archive(io, reader, nothing, cache, false)
end
Expand Down

0 comments on commit 80c88f1

Please sign in to comment.