python: time.tzset missing
PATCH 1/1 python: time.tzset missing
import timetime.tzset()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'time' has no attribute 'tzset'
enable tzset in both python versions
Signed-off-by Armin Kuster <[email protected]>
--- meta/recipes-devtools/python/python3_3.7.2.bb | 1 + meta/recipes-devtools/python/python_2.7.15.bb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
meta/recipes-devtools/python/python3_3.7.2.bb +1 -0
@@ -65,6 +65,7 @@ EXTRANATIVEPATH += "python3-native" CACHED_CONFIGUREVARS = " \ ac_cv_file__dev_ptmx=yes \ ac_cv_file__dev_ptc=no \ + ac_cv_working_tzset=yes \ " PACKAGECONFIG_class-target ??= "readline ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'pgo', '', d)}"
meta/recipes-devtools/python/python_2.7.15.bb +1 -1
@@ -42,7 +42,7 @@ inherit autotools multilib_header python-dir pythonnative ptest CONFIGUREOPTS += " --with-system-ffi " -EXTRA_OECONF += "ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no" +EXTRA_OECONF += "ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no ac_cv_working_tzset=yes" PACKAGECONFIG ??= "bdb" PACKAGECONFIG[bdb] = ",,db"
Signature · 1 line
2.17.1