Skip to content

Commit

Permalink
Merge pull request mongodb#77 from mbj/master
Browse files Browse the repository at this point in the history
minor: remove noop assignment in GridIO.new call
  • Loading branch information
banker committed Jan 6, 2012
2 parents c9e4f9a + af441ef commit 885f747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongo/gridfs/grid.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def put(data, opts={})
opts = opts.dup
filename = opts[:filename]
opts.merge!(default_grid_io_opts)
file = GridIO.new(@files, @chunks, filename, 'w', opts=opts)
file = GridIO.new(@files, @chunks, filename, 'w', opts)
file.write(data)
file.close
file.files_id
Expand Down

0 comments on commit 885f747

Please sign in to comment.