summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordgaudet <dgaudet@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-06-19 19:44:38 +0000
committerdgaudet <dgaudet@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-06-19 19:44:38 +0000
commit5451f5d95e3529f7622769e1a1ad9c5eb5d8128c (patch)
treeca9389810917291f492482f50ec08be0fead12e6
parent24d7fd59dac08488ac94f80cfa586f90b619698b (diff)
downloadrdiff-backup-5451f5d95e3529f7622769e1a1ad9c5eb5d8128c.tar.gz
Fix from Paul P Komkoff Jr for uid typo in text_to_entrytuple.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@585 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/CHANGELOG2
-rw-r--r--rdiff-backup/rdiff_backup/eas_acls.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index a3eef2a..2584fb8 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -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)
---------------------------
diff --git a/rdiff-backup/rdiff_backup/eas_acls.py b/rdiff-backup/rdiff_backup/eas_acls.py
index 4cf14cc..35b1dcf 100644
--- a/rdiff-backup/rdiff_backup/eas_acls.py
+++ b/rdiff-backup/rdiff_backup/eas_acls.py
@@ -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)