User-friendly archive dir

Bug #394627 reported by Cristian Klein
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
Fix Released
Low
Unassigned

Bug Description

Duplicity: 0.6.01
Python: 2.6.2+
OS: Ubuntu 9.04

Hello,

When printing the archive dir, duplicity places ugly brackets around it:

--- cut here ---
Archive dir: (() /home/cristi/.cache/duplicity/41210093fbfd64d9b53abe921e6291a0 dir)
--- end here ---

The attached patch addresses this issue by implementing the Path.__str__() method, to display a user-friendly version of a Path object. The resulting output is:

--- cut here ---
Archive dir: /home/cristi/.cache/duplicity/41210093fbfd64d9b53abe921e6291a0
--- end here ---

Revision history for this message
Cristian Klein (cristiklein) wrote :
Revision history for this message
Peter Schuller (scode) wrote :

I'll take it.

Changed in duplicity:
assignee: nobody → Peter Schuller (scode)
importance: Undecided → Low
status: New → Confirmed
Peter Schuller (scode)
Changed in duplicity:
status: Confirmed → Fix Committed
Changed in duplicity:
assignee: Peter Schuller (scode) → nobody
milestone: none → 0.6.02
Changed in duplicity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.