better tabbing
This commit is contained in:
parent
d15e784754
commit
5c3915731f
1 changed files with 4 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/local/bin/ruby -w
|
||||
|
||||
# $Dwarf: ripnews.rb,v 1.55 2003/04/28 09:57:30 ward Exp $
|
||||
# $Dwarf: ripnews.rb,v 1.56 2003/04/28 10:29:20 ward Exp $
|
||||
# $Source$
|
||||
|
||||
require 'date'
|
||||
|
|
@ -353,14 +353,14 @@ def check_ext(group, filename, mode, subject)
|
|||
case mode
|
||||
when "s"
|
||||
if @config[group].has_key?("-SD") && ( filename =~ /\.(#{@config[group]["-SD"]})$/ )
|
||||
print " Marking '#{subject}' matches as read\n"
|
||||
print "Marking '#{subject}' matches as read\n"
|
||||
@articles.group_update_newsrc(subject)
|
||||
return false
|
||||
end
|
||||
return @config[group].has_key?("-S") ? ( filename =~ /\.(#{@config[group]["-S"]})$/ ) : true
|
||||
when "m"
|
||||
if @config[group].has_key?("-MD") && ( filename =~ /\.(#{@config[group]["-MD"]})$/ )
|
||||
print " Marking '#{subject}' matches as read\n"
|
||||
print "Marking '#{subject}' matches as read\n"
|
||||
@articles.group_update_newsrc(subject)
|
||||
return false
|
||||
end
|
||||
|
|
@ -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 '#{i}' 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