Commit 3110c652 authored by bescoto's avatar bescoto

Added TODO item, default to None on rpath uname/gname check


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@472 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 09143184
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) Consider adding --datadir option (Jean-Sébastien GOETSCHY)
......
...@@ -450,11 +450,13 @@ class RORPath: ...@@ -450,11 +450,13 @@ class RORPath:
def getuname(self): def getuname(self):
"""Return username that owns the file""" """Return username that owns the file"""
return self.data['uname'] try: return self.data['uname']
except KeyError: return None
def getgname(self): def getgname(self):
"""Return groupname that owns the file""" """Return groupname that owns the file"""
return self.data['gname'] try: return self.data['gname']
except KeyError: return None
def hassize(self): def hassize(self):
"""True if rpath has a size parameter""" """True if rpath has a size parameter"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment