Changeset 2519


Ignore:
Timestamp:
03/30/22 13:55:56 (2 years ago)
Author:
nanardon
Message:

Avoid die()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Cli/Object.pm

    r2518 r2519  
    715715            completion => sub { 
    716716                if ($_[2]) { 
    717                     my $totype = $_[0]->base->attribute($_[0]->{_otype}, 
    718                         $_[2])->reference or return; 
     717                    my $attr = $_[0]->base->attribute($_[0]->{_otype}, $_[2]) 
     718                        or return; 
     719                    my $totype = $attr->reference or return; 
    719720                    return grep { $_ } 
    720721                           map { $_->get_attributes($_[2]) } 
Note: See TracChangeset for help on using the changeset viewer.