summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-28 10:30:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-28 10:30:38 +0000
commit5d08d9d3219136bdd856cdf2f1b0dffc7a3fb687 (patch)
tree192855aa85c2d02ba8b07d51d6b5dacdaf0f464e
parent89b7f901fca2ddf394af2fae1289299544b45d57 (diff)
downloadurpmi-5d08d9d3219136bdd856cdf2f1b0dffc7a3fb687.tar
urpmi-5d08d9d3219136bdd856cdf2f1b0dffc7a3fb687.tar.gz
urpmi-5d08d9d3219136bdd856cdf2f1b0dffc7a3fb687.tar.bz2
urpmi-5d08d9d3219136bdd856cdf2f1b0dffc7a3fb687.tar.xz
urpmi-5d08d9d3219136bdd856cdf2f1b0dffc7a3fb687.zip
simplify comment
-rw-r--r--urpm.pm4
1 files changed, 1 insertions, 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($_);