summaryrefslogtreecommitdiff
path: root/sample/rss/re_read.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/rss/re_read.rb')
-rwxr-xr-xsample/rss/re_read.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/rss/re_read.rb b/sample/rss/re_read.rb
index ee54a18a88..c386ab20f6 100755
--- a/sample/rss/re_read.rb
+++ b/sample/rss/re_read.rb
@@ -24,7 +24,7 @@ ARGV.each do |fname|
File.open(fname) do |f|
source = f.read
end
-
+
rss = nil
read = false
begin
@@ -44,7 +44,7 @@ ARGV.each do |fname|
rescue RSS::Error
error($!) if verbose
end
-
+
if rss.nil?
puts "Invalid feed: #{fname}"
elsif !read