Changeset 288


Ignore:
Timestamp:
01/10/11 01:05:40 (13 years ago)
Author:
nanardon
Message:
  • add tools to analyse local rpms
Location:
client/trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • client/trunk/bin/sophie

    r217 r288  
    4545    login => $login, 
    4646    password => $pass, 
    47     type => $type, 
     47    type => $type || 'Term', 
    4848    proxy => $proxy, 
    4949); 
  • client/trunk/lib/Sophie/Client.pm

    r217 r288  
    1616        $options{server} || 'http://sophie2.aero.jussieu.fr/rpc' 
    1717    ); 
    18     $self->timeout(20) if ($self->can('timeout')); 
    1918    if ($options{proxy}) { 
    2019        $self->useragent->proxy([ 'http' ], $options{proxy}); 
     
    3029    } 
    3130 
    32     my $realclass = $class . '::' . ($options{type} || 'Term'); 
     31    my $realclass = $class . ($options{type} ? ('::' . $options{type}) : ''); 
    3332    no strict qw(refs); 
    3433    eval "require $realclass;"; 
Note: See TracChangeset for help on using the changeset viewer.