summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Changelog/Parse.pm
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2010-02-18 23:57:01 +0100
committerRaphaël Hertzog <hertzog@debian.org>2010-02-20 22:28:18 +0100
commit6c8369aee32b5c99f45e60f62e6e07d26b2b42b8 (patch)
tree1df7f73c01b546f76a0b17249d163162a8fb0ca1 /scripts/Dpkg/Changelog/Parse.pm
parent9e7dfecce74f4d58de5be46b387b899489869876 (diff)
downloaddpkg-6c8369aee32b5c99f45e60f62e6e07d26b2b42b8.tar.gz
Update Dpkg::Control::* to use Dpkg::Interface::Storable
This implies renaming parse_fh() into parse() and parse() into load(). Update all scripts and modules using those methods.
Diffstat (limited to 'scripts/Dpkg/Changelog/Parse.pm')
-rw-r--r--scripts/Dpkg/Changelog/Parse.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Dpkg/Changelog/Parse.pm b/scripts/Dpkg/Changelog/Parse.pm
index 6f7dd6ce4..554d5985f 100644
--- a/scripts/Dpkg/Changelog/Parse.pm
+++ b/scripts/Dpkg/Changelog/Parse.pm
@@ -144,7 +144,7 @@ sub changelog_parse {
my (@res, $fields);
while (1) {
$fields = Dpkg::Control::Changelog->new();
- last unless $fields->parse_fh(\*P, _g("output of changelog parser"));
+ last unless $fields->parse(\*P, _g("output of changelog parser"));
push @res, $fields;
}
close(P) or subprocerr(_g("changelog parser %s"), $parser);