From: wmorgan Date: Fri, 23 Nov 2007 17:23:21 +0000 (+0000) Subject: no idea why this started breaking for me, but a trivial change... X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=3bb1f58e048d9d0be4ddeb1f84876456441bc2ff;p=sup no idea why this started breaking for me, but a trivial change... git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@705 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- diff --git a/bin/sup b/bin/sup index b1ca4c0..a98753f 100644 --- a/bin/sup +++ b/bin/sup @@ -179,13 +179,14 @@ begin Redwood::report_broken_sources Index.usual_sources.each do |s| + next unless s.respond_to? :connect reporting_thread do begin s.connect rescue SourceError => e Redwood::log "fatal error loading from #{s}: #{e.message}" end - end if s.respond_to? :connect + end end imode.load_threads :num => ibuf.content_height, :when_done => lambda { reporting_thread { sleep 1; PollManager.poll } unless $opts[:no_threads] }