[Bio] / FigKernelPackages / FIG.pm Repository:
ViewVC logotype

Diff of /FigKernelPackages/FIG.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.715, Sat Aug 23 23:39:22 2008 UTC revision 1.716, Wed Sep 3 20:27:26 2008 UTC
# Line 223  Line 223 
223          Trace("Remote attribute server $FIG_Config::attrURL chosen.") if T(3);          Trace("Remote attribute server $FIG_Config::attrURL chosen.") if T(3);
224          $self->{_ca} = RemoteCustomAttributes->new($FIG_Config::attrURL);          $self->{_ca} = RemoteCustomAttributes->new($FIG_Config::attrURL);
225      } elsif ($FIG_Config::attrDbName) {      } elsif ($FIG_Config::attrDbName) {
226            eval {
227          Trace("Local attribute database $FIG_Config::attrDbName chosen.") if T(3);          Trace("Local attribute database $FIG_Config::attrDbName chosen.") if T(3);
228          my $user = ($FIG_Config::arch eq 'win' ? 'self' : scalar(getpwent()));          my $user = ($FIG_Config::arch eq 'win' ? 'self' : scalar(getpwent()));
229          $self->{_ca} = CustomAttributes->new(user => $user);          $self->{_ca} = CustomAttributes->new(user => $user);
230            };
231            if ($@) {
232                Tracer::Warn("Attribute server error: $@");
233      }      }
234        }
235        Trace("Attribute connection complete.") if T(3);
236      #      #
237      # If we have a readonly-database defined in the config,      # If we have a readonly-database defined in the config,
238      # create a handle for that as well.      # create a handle for that as well.

Legend:
Removed from v.1.715  
changed lines
  Added in v.1.716

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3