diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-09-26 19:12:09 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-09-26 19:12:09 +0000 |
commit | b2bc4ad0a80f21f0b654d1bf8543d6ef449b4fd7 (patch) | |
tree | f02e729c450be733d41229fe40e64b8956acb50a /URPM | |
parent | cf697b9faf3ed57ef592d761b008afb32101ec3e (diff) | |
download | perl-URPM-b2bc4ad0a80f21f0b654d1bf8543d6ef449b4fd7.tar perl-URPM-b2bc4ad0a80f21f0b654d1bf8543d6ef449b4fd7.tar.gz perl-URPM-b2bc4ad0a80f21f0b654d1bf8543d6ef449b4fd7.tar.bz2 perl-URPM-b2bc4ad0a80f21f0b654d1bf8543d6ef449b4fd7.tar.xz perl-URPM-b2bc4ad0a80f21f0b654d1bf8543d6ef449b4fd7.zip |
(_handle_conflicts_with_selected) simplify
Diffstat (limited to 'URPM')
-rw-r--r-- | URPM/Resolve.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index 7b38e2e..1816cf3 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -1078,7 +1078,7 @@ sub resolve_requested__no_suggests_ { sub _handle_conflicts_with_selected { my ($urpm, $db, $state, $pkg, $dep, $properties, $diff_provides, %options) = @_; foreach ($pkg->conflicts) { - if (my ($n, $_o, $_v) = property2name_op_version($_)) { + if (my $n = property2name($_)) { foreach my $p ($urpm->packages_providing($n)) { $pkg == $p and next; $p->provides_overlap($_) or next; |