diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-28 10:30:38 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-28 10:30:38 +0000 |
commit | 5d08d9d3219136bdd856cdf2f1b0dffc7a3fb687 (patch) | |
tree | 192855aa85c2d02ba8b07d51d6b5dacdaf0f464e | |
parent | 89b7f901fca2ddf394af2fae1289299544b45d57 (diff) | |
download | urpmi-5d08d9d3219136bdd856cdf2f1b0dffc7a3fb687.tar urpmi-5d08d9d3219136bdd856cdf2f1b0dffc7a3fb687.tar.gz urpmi-5d08d9d3219136bdd856cdf2f1b0dffc7a3fb687.tar.bz2 urpmi-5d08d9d3219136bdd856cdf2f1b0dffc7a3fb687.tar.xz urpmi-5d08d9d3219136bdd856cdf2f1b0dffc7a3fb687.zip |
simplify comment
-rw-r--r-- | urpm.pm | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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($_); |