diff options
-rw-r--r-- | rdiff-backup/TODO | 5 | ||||
-rw-r--r-- | 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""" |