summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Index.pm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Dpkg/Index.pm')
-rw-r--r--scripts/Dpkg/Index.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Dpkg/Index.pm b/scripts/Dpkg/Index.pm
index c7bccf19f..f010f8b40 100644
--- a/scripts/Dpkg/Index.pm
+++ b/scripts/Dpkg/Index.pm
@@ -163,7 +163,7 @@ sub parse {
my ($self, $fh, $desc) = @_;
my $item = $self->new_item();
my $i = 0;
- while ($item->parse_fh($fh, $desc)) {
+ while ($item->parse($fh, $desc)) {
$self->add($item);
$item = $self->new_item();
$i++;