Fixes indentation in check_msf_xml_version!

MS-255
bug/bundler_fix
dmohanty-r7 2016-04-26 11:20:51 -05:00
parent f4f607d815
commit 5a4e70fdf0
1 changed files with 16 additions and 16 deletions

View File

@ -536,22 +536,22 @@ module Msf::DBManager::Import::MetasploitFramework::XML
} }
case name case name
when 'MetasploitExpressV1' when 'MetasploitExpressV1'
# FIXME https://www.pivotaltracker.com/story/show/47128407 # FIXME https://www.pivotaltracker.com/story/show/47128407
metadata[:allow_yaml] = true metadata[:allow_yaml] = true
metadata[:root_tag] = 'MetasploitExpressV1' metadata[:root_tag] = 'MetasploitExpressV1'
when 'MetasploitExpressV2' when 'MetasploitExpressV2'
# FIXME https://www.pivotaltracker.com/story/show/47128407 # FIXME https://www.pivotaltracker.com/story/show/47128407
metadata[:allow_yaml] = true metadata[:allow_yaml] = true
metadata[:root_tag] = 'MetasploitExpressV2' metadata[:root_tag] = 'MetasploitExpressV2'
when 'MetasploitExpressV3' when 'MetasploitExpressV3'
metadata[:root_tag] = 'MetasploitExpressV3' metadata[:root_tag] = 'MetasploitExpressV3'
when 'MetasploitExpressV4' when 'MetasploitExpressV4'
metadata[:root_tag] = 'MetasploitExpressV4' metadata[:root_tag] = 'MetasploitExpressV4'
when 'MetasploitV4' when 'MetasploitV4'
metadata[:root_tag] = 'MetasploitV4' metadata[:root_tag] = 'MetasploitV4'
when 'MetasploitV5' when 'MetasploitV5'
metadata[:root_tag] = 'MetasploitV5' metadata[:root_tag] = 'MetasploitV5'
end end
unless metadata[:root_tag] unless metadata[:root_tag]