1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-25 02:50:08 +03:00

Merge branch 'bug-391' into one-2.0

This commit is contained in:
Ruben S. Montero 2010-11-13 00:38:59 +01:00
commit 3e1079ee9a

View File

@ -84,9 +84,7 @@ module OpenNebula
return nil
end
attribute = element.attr(name)
value = attribute if attribute != nil
value = element[name] if element != nil
else
element=@xml.elements[key.to_s.upcase]