Changeset 83
- Timestamp:
- 11/30/05 17:48:25 (19 years ago)
- Location:
- trunk/soft/ObsData
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/soft/ObsData/ObsData.pm
- Property cvs2svn:cvs-rev changed from 1.25 to 1.26
r82 r83 68 68 close($self->{loghandle}); 69 69 $self->{loghandle} = undef; 70 } 71 } 72 73 sub set_status { 74 my ($self, %settings) = @_; 75 my %status_default = ( 76 archive_new => 1, 77 archive_time => 0, 78 archive_size => 0, 79 80 data_new => 1, 81 data_configmtime => 0, 82 83 ); 84 85 foreach (keys %status_default) { 86 $self->{status_make_work}{$_} = defined($settings{$_}) ? $settings{$_} : $status_default{$_}; 70 87 } 71 88 } -
trunk/soft/ObsData/ObsData/Repository.pm
- Property cvs2svn:cvs-rev changed from 1.21 to 1.22
r81 r83 99 99 100 100 our @ISA = qw(ObsData::Repository); 101 102 my $status_default = {103 archive_new => 1,104 archive_time => 0,105 archive_size => 0,106 107 data_new => 1,108 data_configmtime => 0,109 110 };111 101 112 102 sub new {
Note: See TracChangeset
for help on using the changeset viewer.