From b1a6186e39b9fdf1d00d738b3e19a9ffb968c841 Mon Sep 17 00:00:00 2001 From: Dominik Bamberger Date: Tue, 15 Oct 2013 16:02:00 +0100 Subject: [PATCH] use curly braces for one line blocks --- lib/git-review/commands.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/git-review/commands.rb b/lib/git-review/commands.rb index e0e6319..060e96d 100644 --- a/lib/git-review/commands.rb +++ b/lib/git-review/commands.rb @@ -230,9 +230,7 @@ def print_requests(requests, reverse=false) requests.each { |req| output[req.number] = request_summary(req) } numbers = output.keys.sort numbers.reverse! if reverse - numbers.each do |n| - puts output[n] - end + numbers.each { |n| puts output[n] } end def print_request_details(request)