Tab => Spaces

This commit is contained in:
Mitchell Hashimoto 2010-03-22 00:13:48 -07:00
parent bfcc0d3939
commit c25ff5300a
3 changed files with 12 additions and 11 deletions

View File

@ -51,8 +51,9 @@ module Vagrant
def with_tempfile def with_tempfile
logger.info "Creating tempfile for storing box file..." logger.info "Creating tempfile for storing box file..."
# create, write only, fail if the file exists # create, write only, fail if the file exists
File.open(file_temp_path, File::WRONLY|File::EXCL|File::CREAT) do |tempfile| File.open(file_temp_path, File::WRONLY | File::EXCL | File::CREAT) do |tempfile|
yield tempfile yield tempfile
end end
end end