GIO backend can't restore

Bug #407968 reported by Michael Terry on 2009-08-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
Medium
Unassigned

Bug Description

My fault. The --gio backend can't restore correctly (at all, really), because it doesn't set internal state. I'm just going to go ahead and commit the one-line fix:

--- duplicity/backends/giobackend.py 2009-06-04 18:07:07 +0000
+++ duplicity/backends/giobackend.py 2009-08-02 00:05:16 +0000
@@ -119,6 +119,7 @@
         source_file = self.remote_file.get_child_for_display_name(filename)
         target_file = gio.File(path=local_path.name)
         self.copy_file(source_file, target_file)
+ local_path.setdata()

     def list(self):
         """List files in that directory"""

Michael Terry (mterry) on 2009-08-02
Changed in duplicity:
assignee: nobody → Michael Terry (mterry)
importance: Undecided → Medium
status: New → Fix Committed
Changed in duplicity:
milestone: none → 0.6.05
Changed in duplicity:
assignee: Michael Terry (mterry) → nobody
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers