patches/time-slider-01-rsync-expire.diff
branchgnome-2-30-s12
changeset 23297 1185943a39b4
parent 23296 0fd6d8d846db
equal deleted inserted replaced
23296:0fd6d8d846db 23297:1185943a39b4
     1 diff -r 0ed13ec93074 time-slider-0.2.96/usr/share/time-slider/lib/plugin/rsync/backup.py
       
     2 --- time-slider-0.2.96/usr/share/time-slider/lib/plugin/rsync/backup.py	Fri Jun 04 09:32:13 2010 +1000
       
     3 +++ time-slider-0.2.96.new/usr/share/time-slider/lib/plugin/rsync/backup.py	Wed Jun 16 11:18:31 2010 +1000
       
     4 @@ -1007,10 +1007,6 @@
       
     5              keep = tempSchedule[3] # [schedule,interval,period,keep]
       
     6              schedBackups = [d for d in os.listdir(targetDir) if 
       
     7                              d.find(label) == 0]
       
     8 -            
       
     9 -
       
    10 -            schedBackups = [d for d in dirList if 
       
    11 -                            d.find(label) == 0]
       
    12              # The minimum that can be kept around is one:
       
    13              # keeping zero is stupid since it might trigger
       
    14              # a total replication rather than an incremental