diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-10-12 19:12:20 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-10-12 19:12:20 +0000 |
commit | 5a064062c2fb67661d5221f6b13ba7c74053349a (patch) | |
tree | abf920c30a1bdef8a55877f48159f1073ddc8109 /rdiff-backup | |
parent | eeb9d2e1115757342f49184d4d4acb5c75d1f8ca (diff) | |
download | rdiff-backup-5a064062c2fb67661d5221f6b13ba7c74053349a.tar.gz |
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
Diffstat (limited to 'rdiff-backup')
-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""" |