This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git

commit 9bd64629e4578859be9fd93f89c36386f50f3e61
Author: Sebb <[email protected]>
AuthorDate: Sat Nov 21 23:39:39 2020 +0000

    Combine loops
---
 lib/whimsy/asf/agenda.rb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/whimsy/asf/agenda.rb b/lib/whimsy/asf/agenda.rb
index c473a64..1b619cb 100644
--- a/lib/whimsy/asf/agenda.rb
+++ b/lib/whimsy/asf/agenda.rb
@@ -157,10 +157,8 @@ class ASF::Board::Agenda
     # add attach to section
     @sections.each do |section, hash|
       hash[:attach] = section
-    end
 
-    # look for missing titles
-    @sections.each do |_section, hash|
+      # look for missing titles
       hash['title'] ||= "UNKNOWN"
 
       if hash['title'] == "UNKNOWN"

Reply via email to