Skip to content

Commit

Permalink
rename parse_primary to parse for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Dec 2, 2014
1 parent 72c1978 commit e636487
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Build/Rpmmd.pm
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ sub parse_repomd {
return generic_parse($repomdparser, @_);
}

sub parse_primary {
sub parse {
return generic_parse($primaryparser, @_);
}

Expand Down
2 changes: 1 addition & 1 deletion createrepomddeps
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ for my $url (@ARGV) {
use IO::Uncompress::Gunzip qw($GunzipError);
$fh = new IO::Uncompress::Gunzip $fh or die "Error opening $u: $GunzipError\n";
}
Build::Rpmmd::parse_primary($fh, \&package_parsed, 'addselfprovides' => 1);
Build::Rpmmd::parse($fh, \&package_parsed, 'addselfprovides' => 1);
close($fh);
}
}
Expand Down

0 comments on commit e636487

Please sign in to comment.