From 5d08d9d3219136bdd856cdf2f1b0dffc7a3fb687 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 28 Aug 2007 10:30:38 +0000 Subject: simplify comment --- urpm.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/urpm.pm b/urpm.pm index 53ce4b6e..6bd89300 100644 --- a/urpm.pm +++ b/urpm.pm @@ -160,9 +160,7 @@ sub register_rpms { or $error = 1, $urpm->{error}(N("unable to parse spec file %s [%s]", $_, $!)), next; $id = @{$urpm->{depslist}}; $urpm->{depslist}[$id] = $pkg; - #- It happens that URPM sets an internal id to the depslist id. - #- We need to set it by hand here. - $pkg->set_id($id); + $pkg->set_id($id); #- sets internal id to the depslist id. $urpm->{source}{$id} = $_; } else { ($id) = $urpm->parse_rpm($_); -- cgit v1.2.1