possible fix for 29808

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

possible fix for 29808

Jan Christoph Uhde 3
Hi,
 
here possible patch for one of the bugs. I have not tested it deeply but it
seems to work.
 
please excuse that is not a real patch in -u3 format ...
 
 
http://savannah.nongnu.org/bugs/?29808
/usr/lib/python2.7/dist-packages/rdiff_backup/selection.py
http://svn.savannah.nongnu.org/viewvc/?root=rdiff-backup

537         if min_max:
538             # max case
539             def sel_func(rp):
538                 if rp.getsize() <= size: # filesize is < max
541                     return None # proceed with next condition
542                 else:
543                     return 0
544             #sel_func = lambda rp: (rp.getsize() >= size)
545         else:
546             # min case
547             def sel_func(rp):
548                 if rp.getsize() >= size: # filesize is > min
549                     return None # proceed with next condition
550                 else:
551                     return 0
551             #sel_func = lambda rp: (rp.getsize() >= size)

Cheers!
Jan

_______________________________________________
rdiff-backup-users mailing list at [hidden email]
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki