summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2024-08-27 12:30:49 -0700
committerPatrick McLean <chutzpah@gentoo.org>2024-08-27 12:31:07 -0700
commite364d42394b445dc206e586d597b21b6552a4533 (patch)
tree5cbff509625cc72c9e256b3aff9cd0c45fbc24a1 /app-admin/salt
parentdev-libs/ell: add 0.68 (diff)
downloadgentoo-e364d42394b445dc206e586d597b21b6552a4533.tar.gz
gentoo-e364d42394b445dc206e586d597b21b6552a4533.tar.bz2
gentoo-e364d42394b445dc206e586d597b21b6552a4533.zip
app-admin/salt: Revert attempted fix for utcnow log spam
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'app-admin/salt')
-rw-r--r--app-admin/salt/salt-3007.1-r1.ebuild8
1 files changed, 0 insertions, 8 deletions
diff --git a/app-admin/salt/salt-3007.1-r1.ebuild b/app-admin/salt/salt-3007.1-r1.ebuild
index 4a31938ecc9e..8ff966a32715 100644
--- a/app-admin/salt/salt-3007.1-r1.ebuild
+++ b/app-admin/salt/salt-3007.1-r1.ebuild
@@ -399,14 +399,6 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
-python_prepare() {
- if [[ ${EPYTHON#*.} -ge 12 ]]; then
- # stop annoying warning from spamming logs
- grep -Rl datetime.datetime.utcnow salt \
- | xargs sed -i 's:datetime.datetime.utcnow():datetime.datetime.now(datetime.UTC):'
- fi
-}
-
python_install_all() {
local -x USE_SETUPTOOLS=1
distutils-r1_python_install_all