Merge branch 'bug-391'

This commit is contained in:
Ruben S. Montero committed 2010-11-13 00:38:47 +01:00
commit 519756feb6
1 file changed
+1 -3
+1 -3
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]