Skip to content
Browse files

* Changed printing slightly

  • Loading branch information...
1 parent 424a871 commit 0873239fa67b23c1ed3019ec525fbf795d6f0e0f @jkamenik committed Oct 28, 2010
Showing with 2 additions and 3 deletions.
  1. +2 −3 details.rb
View
5 details.rb
@@ -41,11 +41,10 @@ def print_ta(id,rally)
end
def print_de(id,rally)
- rally.find(:defect, :order => [:rank, :priority]){
+ rally.find(:defect,:order=>[:rank]){
equal :formatted_i_d, id
}.each do |de|
- rank = de.rank || '---'
- puts "#{rank} #{de.formatted_i_d} #{de.name}"
+ puts "#{Common.std_rank de} #{de.formatted_i_d} #{de.name}"
puts "#{de.release} #{de.iteration}"
puts "Prio:#{de.priority}, State:#{de.state}, Owner:#{de.owner}"
puts "Sev:#{de.severity}, SchState:#{de.schedule_state}, Found:#{de.found_in_build}"

0 comments on commit 0873239

Please sign in to comment.
Something went wrong with that request. Please try again.