commit 3bb1f58e048d9d0be4ddeb1f84876456441bc2ff
parent 1db9360a49616cc9010874cf73ac8ea6ac62d358
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Fri, 23 Nov 2007 17:23:21 +0000
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
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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] }