patches/time-slider-01-rsync-expire.diff
author rohinis
Tue, 29 Nov 2011 17:32:55 +0000
branchs11express-2010-11
changeset 22234 c23e64da3e06
parent 18129 92c5aaba0a8f
permissions -rw-r--r--
2011-11-29 Rohini S <[email protected]> * patches/Python26-22-audio.diff: Fixes CVE-2010-1634 * specs/SUNWPython26.spec: Fixes CR 7085446

diff -r 0ed13ec93074 time-slider-0.2.96/usr/share/time-slider/lib/plugin/rsync/backup.py
--- time-slider-0.2.96/usr/share/time-slider/lib/plugin/rsync/backup.py	Fri Jun 04 09:32:13 2010 +1000
+++ time-slider-0.2.96.new/usr/share/time-slider/lib/plugin/rsync/backup.py	Wed Jun 16 11:18:31 2010 +1000
@@ -1007,10 +1007,6 @@
             keep = tempSchedule[3] # [schedule,interval,period,keep]
             schedBackups = [d for d in os.listdir(targetDir) if 
                             d.find(label) == 0]
-            
-
-            schedBackups = [d for d in dirList if 
-                            d.find(label) == 0]
             # The minimum that can be kept around is one:
             # keeping zero is stupid since it might trigger
             # a total replication rather than an incremental