cosmetics

This commit is contained in:
Ward Wouts 2002-05-25 13:41:54 +00:00
parent 9de4376d2d
commit fab651fd54

View file

@ -77,8 +77,8 @@ def parse_options(options)
print "\nUsage:\n" print "\nUsage:\n"
exit exit
end end
print opts.error_message #print opts.error_message
print "Remaining args: #{ARGV.join(', ')}\n" #print "Remaining args: #{ARGV.join(', ')}\n"
return options return options
end end
@ -191,7 +191,7 @@ def check_config
end end
def get_single(subj) def get_single(subj)
print " Fetching singlepart article: #{subj}\n" print "Fetching singlepart article: #{subj}\n"
body = @articles.get_group_body(subj) body = @articles.get_group_body(subj)
if @articles.is_uuencoded(body) if @articles.is_uuencoded(body)
mode, filename, body = @articles.uudecode(body) mode, filename, body = @articles.uudecode(body)
@ -208,7 +208,7 @@ def get_single(subj)
end end
def get_multi(subj, group) def get_multi(subj, group)
print " Fetching multipart article: #{subj}\n" print "Fetching multipart article: #{subj}\n"
if @config[group]["TEMPDIR"] == nil or @config[group]["TEMPDIR"] == "" if @config[group]["TEMPDIR"] == nil or @config[group]["TEMPDIR"] == ""
body = @articles.get_group_body(subj) body = @articles.get_group_body(subj)
if @articles.is_uuencoded(body) if @articles.is_uuencoded(body)