diff options
-rw-r--r-- | dev-python/bandit/bandit-1.7.0.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-python/bandit/bandit-1.7.0.ebuild b/dev-python/bandit/bandit-1.7.0.ebuild index 917f337ff285..c30765e91f50 100644 --- a/dev-python/bandit/bandit-1.7.0.ebuild +++ b/dev-python/bandit/bandit-1.7.0.ebuild @@ -37,9 +37,9 @@ RDEPEND=" >=dev-python/six-1.10.0[${PYTHON_USEDEP}] >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]" -python_prepare() { +src_prepare() { sed -i 's/yaml.load/yaml.safe_load/g' tests/unit/formatters/test_yaml.py || die - distutils-r1_python_prepare_all + distutils-r1_src_prepare } python_test() { |