From 506bddedd27dd01954402677b053c4c7f6a72e4f Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 1 Jun 2010 18:32:03 -0400 Subject: remote file processing fix (url instead of local file), minor fix (related to reporting "http" file not found) --- lib/sisu/v2/hub.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/sisu/v2/hub.rb b/lib/sisu/v2/hub.rb index b182a31e..443d0734 100644 --- a/lib/sisu/v2/hub.rb +++ b/lib/sisu/v2/hub.rb @@ -156,7 +156,10 @@ module SiSU else #print "not processed --> ", fns, "\n" end else - Operations.new(@opt).not_found unless @req =~/^conf$/ + if @req !~/^conf$/ \ + and @opt.fns !~/http:\/\// + Operations.new(@opt).not_found + end end elsif FileTest.file?(put) if @opt.mod.inspect !~/harvest/ #decide whether should permit harvest in single operation -- cgit v1.2.3