aplinfo: remove leftover cruft

this was probably missed in a previous refactoring, the
filehandle is only opened and closed here and read_aplinfo()
already opens and closes the file itself.
This commit is contained in:
Fabian Grünbichler 2016-08-23 16:27:19 +02:00 committed by Dietmar Maurer
parent 868801cb22
commit 36b9245739

View File

@ -180,10 +180,7 @@ sub download_aplinfo {
# test syntax
eval {
my $fh = IO::File->new("<$tmp") ||
die "unable to open file '$tmp' - $!\n";
read_aplinfo($tmp, {}, $aplurl, 1);
close($fh);
};
die "update failed: $@" if $@;