Commit edf68632 authored by dgaudet's avatar dgaudet

Fix from Paul P Komkoff Jr for uid typo in text_to_entrytuple.


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@585 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent a0806c14
......@@ -7,6 +7,8 @@ Nick Bailey)
Filenames in the file_statistics*gz files are now quoted the same way
as filenames in the metadata file (LF => \n and \ => \\).
Fix from Paul P Komkoff Jr for uid typo in text_to_entrytuple.
New in v0.13.6 (2005/04/07)
---------------------------
......
......@@ -242,7 +242,7 @@ class AccessControlLists:
"""Return entrytuple given text like 'user:foo:r--'"""
typetext, qualifier, permtext = text.split(':')
if qualifier:
try: id = int(qualifier)
try: uid = int(qualifier)
except ValueError: namepair = (None, qualifier)
else: namepair = (uid, None)
......
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