summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-11 13:52:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-11 13:52:05 +0000
commitd36bcff52a403086e8772b2f5cfa8431795055cc (patch)
tree8acc1036bd9affc71b9d96c525118370d9fc6758 /urpm
parent4193f2e68b265b7b686698ead52280c6c16f5288 (diff)
downloadurpmi-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.pm4
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.