summaryrefslogtreecommitdiff
path: root/fml/lib/Mail/ThreadTrack/Print.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-11-07 04:07:23 +0000
committerfukachan <fukachan>2001-11-07 04:07:23 +0000
commit6776704911609559c2ce5837ae69c1d536d8f618 (patch)
tree61cec69dad13995c68e063d62ba04d3282a5a55f /fml/lib/Mail/ThreadTrack/Print.pm
parentb816d66a227215a1bdc94d9c573d0a5953353acb (diff)
downloadfml8-6776704911609559c2ce5837ae69c1d536d8f618.tar.gz
fml8-6776704911609559c2ce5837ae69c1d536d8f618.tar.bz2
fml8-6776704911609559c2ce5837ae69c1d536d8f618.zip
check -f article_file
Diffstat (limited to 'fml/lib/Mail/ThreadTrack/Print.pm')
-rw-r--r--fml/lib/Mail/ThreadTrack/Print.pm8
1 files changed, 5 insertions, 3 deletions
diff --git a/fml/lib/Mail/ThreadTrack/Print.pm b/fml/lib/Mail/ThreadTrack/Print.pm
index 3eff6558..b0bc1dd7 100644
--- a/fml/lib/Mail/ThreadTrack/Print.pm
+++ b/fml/lib/Mail/ThreadTrack/Print.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Print.pm,v 1.5 2001/11/03 11:53:03 fukachan Exp $
+# $FML: Print.pm,v 1.6 2001/11/05 14:35:47 fukachan Exp $
#
package Mail::ThreadTrack::Print;
@@ -105,8 +105,10 @@ sub review
}
my $file = File::Spec->catfile($spool_dir, $aid);
- print $fd $self->__article_summary($file);
- print $fd "\n";
+ if (-f $file) {
+ print $fd $self->__article_summary($file);
+ print $fd "\n";
+ }
}
}
}