IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16325


Ignore:
Timestamp:
Feb 5, 2008, 4:05:44 PM (18 years ago)
Author:
Paul Price
Message:

Need squigglies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-Config/lib/PS/IPP/Config.pm

    r16319 r16325  
    11# Copyright (c) 2006  Paul Price, Joshua Hoblitt
    22#
    3 # $Id: Config.pm,v 1.74 2008-02-06 01:55:43 price Exp $
     3# $Id: Config.pm,v 1.75 2008-02-06 02:05:44 price Exp $
    44
    55package PS::IPP::Config;
     
    790790    my $tess_id = shift;        # Tessellation identifier
    791791
    792     unless (defined $self and defined $self->_ipprc and defined $tess_id) {
    793         carp "Programming error";
    794         exit($PS_EXIT_PROG_ERROR);
    795     }
    796 
    797     my $tessellations = metadataLookupMD($self->_ipprc, 'TESSELLATIONS'); # Tessellations
     792    unless (defined $self and defined $self->{_ipprc} and defined $tess_id) {
     793        carp "Programming error";
     794        exit($PS_EXIT_PROG_ERROR);
     795    }
     796
     797    my $tessellations = metadataLookupMD($self->{_ipprc}, 'TESSELLATIONS'); # Tessellations
    798798    unless (defined $tessellations) {
    799799        carp "Can't find TESSELLATIONS in site configuration.\n";
Note: See TracChangeset for help on using the changeset viewer.