From: Zac Medico Date: Sun, 10 Sep 2006 21:34:27 +0000 (-0000) Subject: Fix a broken call to new_protect_filename for bug #147010. This is a regression... X-Git-Tag: v2.1.1-r1~88 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e94e6f7ea04a6c1bf705d0e24dc2b8e5148ebe1c;p=portage.git 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 --- 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: