IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17658 for trunk/Nebulous/lib


Ignore:
Timestamp:
May 13, 2008, 1:05:48 PM (18 years ago)
Author:
jhoblitt
Message:

in Nebulous::Client->stat(), handle the SOAP quirk of thinking an "undef" return is a fault (even when no fault code is set).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/lib/Nebulous/Client.pm

    r17645 r17658  
    11# Copyright (c) 2004-2008  Joshua Hoblitt
    22#
    3 # $Id: Client.pm,v 1.47 2008-05-13 00:27:28 jhoblitt Exp $
     3# $Id: Client.pm,v 1.48 2008-05-13 23:05:48 jhoblitt Exp $
    44
    55package Nebulous::Client;
     
    904904    my $stats = $response->result;
    905905
     906    # SOAP can't actually send back a perl "undef" so what we get is an empty
     907    # string to indicate the key doesn't exist but there is no error.
     908    if ($stats eq "") {
     909        $stats = undef;
     910    }
     911
    906912    $log->debug( "leaving" );
    907913
Note: See TracChangeset for help on using the changeset viewer.