This commit is contained in:
Ward Wouts 2003-06-16 22:07:35 +00:00
parent 8e822d8f94
commit 291dbadc77

View file

@ -1,6 +1,6 @@
#!/usr/local/bin/ruby -w #!/usr/local/bin/ruby -w
# $Dwarf: ripnews.rb,v 1.66 2003/06/16 21:35:15 ward Exp $ # $Dwarf: ripnews.rb,v 1.67 2003/06/16 21:48:52 ward Exp $
# $Source$ # $Source$
require 'date' require 'date'
@ -290,7 +290,7 @@ def get_single(subj, group)
print " Unknown encoding (not UU, not yEnc), skipping...\n" print " Unknown encoding (not UU, not yEnc), skipping...\n"
return false return false
end end
output_data(i, mode, filename, body) output_data(subj, mode, filename, body)
return true return true
end end
@ -315,7 +315,7 @@ def get_multi(subj, group)
print " Unknown encoding (not UU, not yEnc), skipping...\n" print " Unknown encoding (not UU, not yEnc), skipping...\n"
return false return false
end end
output_data(i, mode, filename, body) output_data(subj, mode, filename, body)
return true return true
else else
body = @articles.get_group_body_first(subj) body = @articles.get_group_body_first(subj)
@ -354,7 +354,7 @@ def get_multi(subj, group)
file.close file.close
fileout.close(false) fileout.close(false)
output_data(i, mode, filename, body) output_data(subj, mode, filename, body)
return true return true
else else
print " Unknown encoding (not UU, not yEnc), skipping...\n" print " Unknown encoding (not UU, not yEnc), skipping...\n"