Some handling around empty elements

unstable
David Maloney 2012-06-10 17:04:47 -05:00
parent a20c85a655
commit fc0dc23752
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ module Parser
unless in_tag("JobOrder")
case name
when "OS"
unless @host.nil?
unless @host.nil? or @text.blank?
tnote = {
:type => "host.os.fusionvm_fingerprint",
:data => { :os => @text.strip },