diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-01-23 13:05:48 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-01-23 13:05:48 +0000 |
commit | 8524fabd5308049f362cd42002b472f066c4e0f8 (patch) | |
tree | bb472037af09211547715c8ae95cba717403a4bb /perl-install/common.pm | |
parent | 0819e26934c32525355de5248b890043bd798794 (diff) | |
download | drakx-backup-do-not-use-8524fabd5308049f362cd42002b472f066c4e0f8.tar drakx-backup-do-not-use-8524fabd5308049f362cd42002b472f066c4e0f8.tar.gz drakx-backup-do-not-use-8524fabd5308049f362cd42002b472f066c4e0f8.tar.bz2 drakx-backup-do-not-use-8524fabd5308049f362cd42002b472f066c4e0f8.tar.xz drakx-backup-do-not-use-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/common.pm')
-rw-r--r-- | perl-install/common.pm | 2 |
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; |