Add partially backwards compatible version of _fixup_perms. (#17427)

Also added a deprecation notice for _fixup_perms.

Resolves issue #17352 (assumes custom actions use recursive=False).
This commit is contained in:
Matt Clay 2016-09-06 16:49:59 -07:00 committed by GitHub
parent 1d412059a0
commit 94a0d2afb4
10 changed files with 46 additions and 10 deletions

View file

@ -489,7 +489,7 @@ class TestActionBase(unittest.TestCase):
action_base._transfer_data = MagicMock()
action_base._compute_environment_string = MagicMock()
action_base._low_level_execute_command = MagicMock()
action_base._fixup_perms = MagicMock()
action_base._fixup_perms2 = MagicMock()
action_base._configure_module.return_value = ('new', '#!/usr/bin/python', 'this is the module data', 'path')
action_base._late_needs_tmp_path.return_value = False