1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

Compatiblity for oZones with ruby1.9

This commit is contained in:
Tino Vázquez 2011-07-18 15:22:04 +02:00
parent d8a485ec9f
commit 40ddc00bc4

View File

@ -94,7 +94,7 @@ EOT
body_str = ""
template.strip.each{|line|
template.strip.each_line{|line|
line.strip!
key,value = line.split("=")
body_str = body_str + key + "=" + URI.escape(value) + "&"
@ -261,4 +261,4 @@ EOT
OZonesClient::Error.new(e.message)
end
end
end
end