From 71918decd73c0761a75a5c970c76ba70fafffc9f Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 15 Mar 2012 08:20:15 +0000 Subject: add a comment --- pm/MGATools/rpmsrate.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'pm') diff --git a/pm/MGATools/rpmsrate.pm b/pm/MGATools/rpmsrate.pm index 190dd42..e899fb8 100644 --- a/pm/MGATools/rpmsrate.pm +++ b/pm/MGATools/rpmsrate.pm @@ -106,6 +106,7 @@ sub cleanrpmsrate { my $pkg; $pkg = $urpm->{rpm}{$urpm->{rpmkey}{key}{$key}} if ref $urpm; + # if package is not urpmi' synthesis, try to parse it directly: if (!$pkg) { my $id = $urpm2->parse_rpm("$dir/$rpm"); $pkg = $urpm2->{depslist}[$id]; -- cgit v1.2.1