diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-09-11 13:52:05 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-09-11 13:52:05 +0000 |
commit | d36bcff52a403086e8772b2f5cfa8431795055cc (patch) | |
tree | 8acc1036bd9affc71b9d96c525118370d9fc6758 /urpm | |
parent | 4193f2e68b265b7b686698ead52280c6c16f5288 (diff) | |
download | urpmi-d36bcff52a403086e8772b2f5cfa8431795055cc.tar urpmi-d36bcff52a403086e8772b2f5cfa8431795055cc.tar.gz urpmi-d36bcff52a403086e8772b2f5cfa8431795055cc.tar.bz2 urpmi-d36bcff52a403086e8772b2f5cfa8431795055cc.tar.xz urpmi-d36bcff52a403086e8772b2f5cfa8431795055cc.zip |
simplify
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/select.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/urpm/select.pm b/urpm/select.pm index d2ccca46..7f234925 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -526,10 +526,8 @@ sub translate_why_removed_one { } @$whyv); } elsif ($whyk =~ /conflicts/) { N("due to conflicts with %s", $whyv); - } elsif ($whyk) { - $whyk; } else { - undef; + $whyk; } }; #- now insert the reason if available. |