Changeset 2421 for trunk


Ignore:
Timestamp:
06/25/20 19:56:23 (4 years ago)
Author:
nanardon
Message:

la-cli: don't separate object by comma when listing them

File:
1 edited

Legend:

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

    r2403 r2421  
    7171                push(@{$env->{_objects}}, $o); 
    7272            } 
    73             $self->printf("select is now %s: %s\n", $env->{_otype}, join(', ', map { 
     73            $self->printf("select is now %s: %s\n", $env->{_otype}, join(' ', map { 
    7474                $_->id } @{$env->{_objects}})); 
    7575        }, 
     
    103103                @{$env->{_objects}} = @newobjs; 
    104104            } 
    105             $self->printf( "select is now %s: %s\n", $env->{_otype}, join(', ', map { 
     105            $self->printf( "select is now %s: %s\n", $env->{_otype}, join(' ', map { 
    106106                $_->id } @{$env->{_objects}})); 
    107107        }, 
     
    462462                $self->print( "\n" ); 
    463463            } else { 
    464                 $self->printf("%s: %s\n", $env->{_otype}, join(', ', map { $_->id } @{$env->{_objects}})); 
     464                $self->printf("%s: %s\n", $env->{_otype}, join(' ', map { $_->id } @{$env->{_objects}})); 
    465465            } 
    466466        } 
     
    564564                my @objs = (grep { $_ } map { $env->base->get_object($totype, $_) } @objects); 
    565565                return if (!@objs); 
    566                 $self->print( "Selecting $totype " . join(', ', map { $_->id } @objs) . "\n" ); 
     566                $self->print( "Selecting $totype " . join(' ', map { $_->id } @objs) . "\n" ); 
    567567                LATMOS::Accounts::Cli::Object->new( 
    568568                    Parent  => $self, 
Note: See TracChangeset for help on using the changeset viewer.