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


The following commit(s) were added to refs/heads/master by this push:
     new 27c2db1  No need to sort projects
27c2db1 is described below

commit 27c2db169885b87a8686b93f7ddf4f3cde8e8929
Author: Sebb <s...@apache.org>
AuthorDate: Sat Aug 12 17:58:55 2017 +0100

    No need to sort projects
---
 tools/check_consistency.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/check_consistency.rb b/tools/check_consistency.rb
index 14de18c..fbf283c 100644
--- a/tools/check_consistency.rb
+++ b/tools/check_consistency.rb
@@ -10,11 +10,13 @@ auth_path=ARGV.shift
 
 groups = ASF::Group.preload # for performance
 committees = ASF::Committee.preload # for performance
+
 projects = ASF::Project.preload
 summary=Hash.new { |h, k| h[k] = { } }
-projects.keys.sort_by {|a| a.name}.each do |entry|
+projects.keys.each do |entry|
   summary[entry.name]['p']=1
 end
+
 puts "project.members ~ group.members"
 groups.keys.sort_by {|a| a.name}.each do |entry|
     summary[entry.name]['g']=1

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Reply via email to