Index: pym/portage_update.py =================================================================== --- pym/portage_update.py (revision 4432) +++ pym/portage_update.py (revision 4433) @@ -193,7 +193,7 @@ 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: