From 9a0047302982d0fc26e5d028018b3a3d5e736ca2 Mon Sep 17 00:00:00 2001 From: Michael Glass Date: Fri, 26 Jul 2013 13:16:53 -0700 Subject: [PATCH] fix regression preventing boxes that specify support for multiple formats. don't know if this is the right place for this fix. maybe formats should be an array of symbols. --- lib/vagrant/box_collection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/box_collection.rb b/lib/vagrant/box_collection.rb index f980a309c..cc2ce0d72 100644 --- a/lib/vagrant/box_collection.rb +++ b/lib/vagrant/box_collection.rb @@ -135,7 +135,7 @@ module Vagrant found = false formats.each do |format| # Verify that the given provider matches what the box has. - if box_provider.to_sym == format + if box_provider.to_sym == format.to_sym found = true break end