aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-10-01 13:34:12 +0000
committerThierry Vignaud <tv@mandriva.org>2009-10-01 13:34:12 +0000
commit74976e85146ff78bb978644b6a002ec51670f462 (patch)
treeabccf856eb10b442a712dde3eea2026f3464fc4a /Rpmdrake
parent940ff3a1bb74e23a2187ec8b6e53d1159576606f (diff)
downloadrpmdrake-74976e85146ff78bb978644b6a002ec51670f462.tar
rpmdrake-74976e85146ff78bb978644b6a002ec51670f462.tar.gz
rpmdrake-74976e85146ff78bb978644b6a002ec51670f462.tar.bz2
rpmdrake-74976e85146ff78bb978644b6a002ec51670f462.tar.xz
rpmdrake-74976e85146ff78bb978644b6a002ec51670f462.zip
(pkg2medium) help perl_checker that fails to parse this
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/formatting.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/formatting.pm b/Rpmdrake/formatting.pm
index a94e0dc0..8c2f7f0c 100644
--- a/Rpmdrake/formatting.pm
+++ b/Rpmdrake/formatting.pm
@@ -99,7 +99,7 @@ sub urpm_name {
sub pkg2medium {
my ($p, $urpm) = @_;
return if !ref $p;
- return { name => N("None (installed)") } if !defined $p->id; # if installed
+ return { name => N("None (installed)") } if !defined($p->id); # if installed
URPM::pkg2media($urpm->{media}, $p) || undef;
}