fix buglet
change time printing
This commit is contained in:
parent
21f71ff711
commit
d15e784754
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue