Matthew Miller Guest
|
Posted: Fri Feb 12, 2010 1:31 pm Post subject: Re: New feature: --verify-full |
|
|
On Fri, Feb 12, 2010 at 04:09:49PM -0500, Daniel Miller wrote:
| Quote: | Here's the patch for 1.2.8
|
Annnd, here's the traceback:
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 20, in ?
import rdiff_backup.Main
File "/usr/lib64/python2.4/site-packages/rdiff_backup/Main.py", line 25, in ?
import Globals, Time, SetConnections, selection, robust, rpath, \
File "/usr/lib64/python2.4/site-packages/rdiff_backup/SetConnections.py", line 30, in ?
import Globals, connection, rpath
File "/usr/lib64/python2.4/site-packages/rdiff_backup/connection.py", line 539, in ?
import Globals, Time, Rdiff, Hardlink, FilenameMapping, C, Security, \
File "/usr/lib64/python2.4/site-packages/rdiff_backup/Hardlink.py", line 34, in ?
import Globals, Time, log, robust, errno
File "/usr/lib64/python2.4/site-packages/rdiff_backup/robust.py", line 23, in ?
import librsync, C, static, rpath, Globals, log, statistics, connection
File "/usr/lib64/python2.4/site-packages/rdiff_backup/statistics.py", line 356, in ?
from integrity import BufferedDataWriter
File "/usr/lib64/python2.4/site-packages/rdiff_backup/integrity.py", line 198
yield path, indexpath_prefix + filepath, sig
SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause
--
Matthew Miller mattdm < at > mattdm.org <http://mattdm.org/>
_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki |
|
millerdev
Joined: 18 Dec 2009 Posts: 20
|
Posted: Fri Feb 12, 2010 1:46 pm Post subject: Re: New feature: --verify-full |
|
|
On Feb 12, 2010, at 4:31 PM, Matthew Miller wrote:
On Fri, Feb 12, 2010 at 04:09:49PM -0500, Daniel Miller wrote:
| Quote: | | Quote: | Here's the patch for 1.2.8
|
Annnd, here's the traceback:
Traceback (most recent call last):
<snip>
SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause
|
Uh, sorry... I developed this on Python 2.6. I tried to use the old conventions but you know how it goes...
Updated patch attached. The other line I'm not sure about is this one in integrity.py:
incs.sort(key=lambda rp:-rp.getinctime())
Can't remember when the sort(key=...) was implemented. Give it a try.
~ Daniel
_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki |
|