duplicity-team team mailing list archive
-
duplicity-team team
-
Mailing list archive
-
Message #00060
[Bug 394627] Re: User-friendly archive dir
I'll take it.
** Changed in: duplicity
Importance: Undecided => Low
** Changed in: duplicity
Status: New => Confirmed
** Changed in: duplicity
Assignee: (unassigned) => Peter Schuller (scode)
--
User-friendly archive dir
https://bugs.launchpad.net/bugs/394627
You received this bug notification because you are a member of
duplicity-team, which is subscribed to duplicity.
Status in duplicity - Bandwidth Efficient Encrypted Backup: Confirmed
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 ---
References