From d15e7847541c855c4109d82c26d131cc69cb5fe7 Mon Sep 17 00:00:00 2001 From: Ward Wouts Date: Mon, 28 Apr 2003 10:29:20 +0000 Subject: [PATCH] fix buglet change time printing --- trunk/ripnews/ripnews.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/trunk/ripnews/ripnews.rb b/trunk/ripnews/ripnews.rb index d838454..6dec35e 100755 --- a/trunk/ripnews/ripnews.rb +++ b/trunk/ripnews/ripnews.rb @@ -1,6 +1,6 @@ #!/usr/local/bin/ruby -w -# $Dwarf: ripnews.rb,v 1.54 2003/04/28 09:07:17 ward Exp $ +# $Dwarf: ripnews.rb,v 1.55 2003/04/28 09:57:30 ward Exp $ # $Source$ require 'date' @@ -393,7 +393,6 @@ end ############################################################################################# $stdout.sync=true # line buffered output -print "\nStarting: #{Time.now}\n\n" defaults = {'-c' => "#{ENV['HOME']}/.ripnewsrc"} defaults = parse_options(defaults) parse_config(defaults) @@ -401,7 +400,8 @@ check_config @maxfilelength = get_max_file_length(@config[@config.keys[0]]["TEMPDIR"]) -print "$Id$\n\n" +print "\n$Id$\n" +print "Starting: #{Time.now}\n\n" if Debuglevel > 2 @config.each_key{|i| @@ -431,7 +431,7 @@ for group in @config.keys.sort for i in @articles.get_group_subjects print "#{i}\n" if Debuglevel > 2 if @config[group].has_key?("-MR") and i =~ /#{@config[group]["-MR"]}/ - print " Marking '#{subject}' matches as read\n" + print " Marking '#{i}' matches as read\n" @articles.group_update_newsrc(i) next end