|
From: | Jan Christoph Uhde 3 |
Subject: | [rdiff-backup-users] possible fix for 29808 |
Date: | Wed, 24 Sep 2014 12:17:51 +0200 (CEST) |
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
|
[Prev in Thread] | Current Thread | [Next in Thread] |