From d36bcff52a403086e8772b2f5cfa8431795055cc Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 11 Sep 2007 13:52:05 +0000 Subject: simplify --- urpm/select.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'urpm') 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. -- cgit v1.2.1