diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-04-03 18:19:32 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-04-03 18:19:32 +0000 |
commit | b00f3df41785465e0cd57241416028d32e1868d2 (patch) | |
tree | 95bfd8169162b899bb3e4936b525f7350a36509a | |
parent | 60e491d4faacc4480d618a869c344f0509d6cfaa (diff) | |
download | rdiff-backup-b00f3df41785465e0cd57241416028d32e1868d2.tar.gz |
Got rid of extra UpdateError
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@311 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r-- | rdiff-backup/rdiff_backup/backup.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/backup.py b/rdiff-backup/rdiff_backup/backup.py index 6efd8a3..afbde9f 100644 --- a/rdiff-backup/rdiff_backup/backup.py +++ b/rdiff-backup/rdiff_backup/backup.py @@ -408,7 +408,10 @@ class PatchITRB(rorpiter.ITRBranch): if diff_rorp.isflaglinked(): Hardlink.link_rp(diff_rorp, new, self.basis_root_rp) elif diff_rorp.get_attached_filetype() == 'snapshot': - if diff_rorp.isspecial(): self.write_special(diff_rorp, new) + if diff_rorp.isspecial(): + self.write_special(diff_rorp, new) + rpath.copy_attribs(diff_rorp, new) + return 1 elif robust.check_common_error(self.error_handler, rpath.copy, (diff_rorp, new)) == 0: return 0 else: |