ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/URL/URLhandler.pm
(Generate patch)

Comparing COMP/SCRAM/src/URL/URLhandler.pm (file contents):
Revision 1.16 by williamc, Mon Aug 28 08:22:57 2000 UTC vs.
Revision 1.17 by sashby, Thu Jun 13 14:46:22 2002 UTC

# Line 70 | Line 70 | sub download {
70          my $type=$url->type();
71          $urltypehandler=$self->_typehandler($type);
72          $url->merge($self->currentbase($type));
73        #print "Attempting download of ".$url->url()."\n";
73  
74          # Generate a location name if not provided
75          my $nocache=1;
# Line 90 | Line 89 | sub download {
89          # now register it in the cache if successful
90          if ( $file ne "" ) {
91           if ( $file && $nocache) {
93          #$self->{cache}->store($url->url(), $location);
92            $self->{cache}->store($url->url(), $file);
93           }
94          }
# Line 169 | Line 167 | sub _typehandler {
167  
168          $self->checktype($type);
169  
170 <        # instantiate only if it dosnt already exist;
170 >        # instantiate only if it doesnt already exist;
171          if ( exists $self->{'urlobjs'}{$type} ) {
172                  $self->{'urlobjs'}{$type};
173          }      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines