OSDN Git Service

skip denied bowl
authornomeu <nomeu@users.sourceforge.jp>
Wed, 27 Feb 2013 05:56:21 +0000 (14:56 +0900)
committernomeu <nomeu@users.sourceforge.jp>
Wed, 27 Feb 2013 05:56:21 +0000 (14:56 +0900)
bin/load-arcs-bowl.rb

index 05e760c..d878fe5 100644 (file)
@@ -17,7 +17,7 @@ Bowl.each_code_in_rss do |code|
   number = /dl(\d+)\z/.match(code)[1].to_i
   bowl = Bowl.new(code)
   bowl.load
-  next if bowl.removed?
+  next if bowl.removed? || bowl.denied?
 
   name = bowl.name
   summary = bowl.summary