summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-23 13:05:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-23 13:05:48 +0000
commit8524fabd5308049f362cd42002b472f066c4e0f8 (patch)
treebb472037af09211547715c8ae95cba717403a4bb /perl-install
parent0819e26934c32525355de5248b890043bd798794 (diff)
downloaddrakx-8524fabd5308049f362cd42002b472f066c4e0f8.tar
drakx-8524fabd5308049f362cd42002b472f066c4e0f8.tar.gz
drakx-8524fabd5308049f362cd42002b472f066c4e0f8.tar.bz2
drakx-8524fabd5308049f362cd42002b472f066c4e0f8.tar.xz
drakx-8524fabd5308049f362cd42002b472f066c4e0f8.zip
remove use of UNIVERSAL::isa() (it is not much more complex with ref + ->isa, and UNIVERSAL::isa() would need a special case in perl_checker)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/common.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index 7feadc532..9c6651486 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -55,7 +55,7 @@ sub translate {
my ($s) = @_;
$s or return '';
foreach ('libDrakX', @::textdomains) {
- my $s2 = $::isInstall && UNIVERSAL::isa($::o, 'interactive::gtk') ? c::dgettext_utf8($_, $s) : c::dgettext($_, $s);
+ my $s2 = $::isInstall && ref($::o) && $::o->isa('interactive::gtk') ? c::dgettext_utf8($_, $s) : c::dgettext($_, $s);
return $s2 if $s ne $s2;
}
$s;