From 5a064062c2fb67661d5221f6b13ba7c74053349a Mon Sep 17 00:00:00 2001 From: bescoto Date: Sun, 12 Oct 2003 19:12:20 +0000 Subject: Added TODO item, default to None on rpath uname/gname check git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@472 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/TODO | 5 ++++- rdiff-backup/rdiff_backup/rpath.py | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/rdiff-backup/TODO b/rdiff-backup/TODO index 0754e99..9327376 100644 --- a/rdiff-backup/TODO +++ b/rdiff-backup/TODO @@ -1,4 +1,7 @@ -Fix support of case when source has EAs, dest doesn't. +Figure out why files getting unnecessarily incremented when upgrading +from 0.12.x. + +Fix support of case when source has EAs or ACLs, dest doesn't. Consider adding --datadir option (Jean-Sébastien GOETSCHY) diff --git a/rdiff-backup/rdiff_backup/rpath.py b/rdiff-backup/rdiff_backup/rpath.py index b2f6f20..3df537a 100644 --- a/rdiff-backup/rdiff_backup/rpath.py +++ b/rdiff-backup/rdiff_backup/rpath.py @@ -450,11 +450,13 @@ class RORPath: def getuname(self): """Return username that owns the file""" - return self.data['uname'] + try: return self.data['uname'] + except KeyError: return None def getgname(self): """Return groupname that owns the file""" - return self.data['gname'] + try: return self.data['gname'] + except KeyError: return None def hassize(self): """True if rpath has a size parameter""" -- cgit v1.2.1