summaryrefslogtreecommitdiffstats
path: root/pym/portage_util.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-03-17 21:11:52 +0000
committerZac Medico <zmedico@gentoo.org>2006-03-17 21:11:52 +0000
commit28f4f5490d08bcdae1229d30b0b833172ee08c98 (patch)
tree0e5dd4c71dac6c0b63a4456bc2e2a89fe7eb10f8 /pym/portage_util.py
parent6029dff0b6843024d8864adcc7a355145d7a9bdf (diff)
downloadportage-28f4f5490d08bcdae1229d30b0b833172ee08c98.tar.gz
portage-28f4f5490d08bcdae1229d30b0b833172ee08c98.tar.bz2
portage-28f4f5490d08bcdae1229d30b0b833172ee08c98.zip
Fix typo in variable name from last revision.
svn path=/main/trunk/; revision=2918
Diffstat (limited to 'pym/portage_util.py')
-rw-r--r--pym/portage_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage_util.py b/pym/portage_util.py
index 38a03087a..9956b107d 100644
--- a/pym/portage_util.py
+++ b/pym/portage_util.py
@@ -497,7 +497,7 @@ def apply_permissions(filename, uid=-1, gid=-1, mode=-1, mask=-1,
if (mode & st_mode != mode) or \
((mask ^ st_mode) & st_mode != st_mode):
new_mode = mode | st_mode
- new_mode = (mask ^ new_mode) & mode
+ new_mode = (mask ^ new_mode) & new_mode
elif mode != -1:
mode = mode & 07777 # protect from unwanted bits
if mode != st_mode: