mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-22 13:33:52 +03:00
Fix for ticket #23
git-svn-id: http://svn.opennebula.org/trunk@30 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
parent
8f4846f51c
commit
154b5440be
@ -518,12 +518,10 @@ when "show"
|
||||
|
||||
str=" %-16s: %-20s"
|
||||
|
||||
template.each{|line|
|
||||
next if line=="\n"
|
||||
(key, value)=line.split("=").collect{|v| v.strip }
|
||||
template.scan(/^\t*(.*?)=(.*)$/).each{|line|
|
||||
(key, value)=line
|
||||
puts str % [key, value]
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
exit 0
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user