summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-09-10 21:34:27 +0000
committerZac Medico <zmedico@gentoo.org>2006-09-10 21:34:27 +0000
commite94e6f7ea04a6c1bf705d0e24dc2b8e5148ebe1c (patch)
tree242c94c491666ffe194904456e1a7d51a5c53f18
parent4b6991a4a90d3e1c6e4c349b2d4e94b1668890ab (diff)
downloadportage-e94e6f7ea04a6c1bf705d0e24dc2b8e5148ebe1c.tar.gz
portage-e94e6f7ea04a6c1bf705d0e24dc2b8e5148ebe1c.tar.bz2
portage-e94e6f7ea04a6c1bf705d0e24dc2b8e5148ebe1c.zip
Fix a broken call to new_protect_filename for bug #147010. This is a regression from r4400 (fix for bug #146289).
svn path=/main/trunk/; revision=4433
-rw-r--r--pym/portage_update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage_update.py b/pym/portage_update.py
index 2d61e6a75..0184f04e3 100644
--- a/pym/portage_update.py
+++ b/pym/portage_update.py
@@ -193,7 +193,7 @@ def update_config_files(config_root, protect, protect_mask, update_iter):
for x in update_files:
updating_file = os.path.join(abs_user_config, x)
if protect_obj.isprotected(updating_file):
- updating_file = new_protect_filename(updating_file)[0]
+ updating_file = new_protect_filename(updating_file)
try:
write_atomic(updating_file, "".join(file_contents[x]))
except PortageException, e: