fix data->info bug in msfe xml import

git-svn-id: file:///home/svn/framework3/trunk@9284 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2010-05-11 15:39:24 +00:00
parent ec4ed55d0d
commit 4cfc84a2e4
1 changed files with 2 additions and 2 deletions

View File

@ -1272,8 +1272,8 @@ class DBManager
vuln_data = {}
vuln_data[:workspace] = wspace
vuln_data[:host] = host_address
if vuln.elements["data"].text
vuln_data[:data] = YAML.load(vuln.elements["data"].text.to_s.strip)
if vuln.elements["info"].text
vuln_data[:info] = YAML.load(vuln.elements["info"].text.to_s.strip)
end
vuln_data[:name] = vuln.elements["name"].text.to_s.strip
%w{created-at updated-at}.each { |datum|