diff options
author | Armin Kuster <akuster808@gmail.com> | 2019-03-08 06:37:26 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-22 00:31:48 +0100 |
commit | c9595af8ad5620408b6350c63ea05a75e16405b9 (patch) | |
tree | 631a6f12df6524163d6a7025144da8c62fd79732 /meta/recipes-devtools/python/python_2.7.15.bb | |
parent | 371f57a1ee2a519e460671df1c6a18cc41512dc9 (diff) | |
download | poky-c9595af8ad5620408b6350c63ea05a75e16405b9.tar.gz |
python: time.tzset missing
import time
time.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
(From OE-Core rev: e7721ee7e7942570ebab793f5870d7a021154a92)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Fix up for Thud context ie python3_3.5.6]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python_2.7.15.bb')
-rw-r--r-- | meta/recipes-devtools/python/python_2.7.15.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.15.bb b/meta/recipes-devtools/python/python_2.7.15.bb index c22c762d99..3f361ae7c4 100644 --- a/meta/recipes-devtools/python/python_2.7.15.bb +++ b/meta/recipes-devtools/python/python_2.7.15.bb | |||
@@ -41,7 +41,7 @@ inherit autotools multilib_header python-dir pythonnative ptest | |||
41 | 41 | ||
42 | CONFIGUREOPTS += " --with-system-ffi " | 42 | CONFIGUREOPTS += " --with-system-ffi " |
43 | 43 | ||
44 | EXTRA_OECONF += "ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no" | 44 | EXTRA_OECONF += "ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no ac_cv_working_tzset=yes" |
45 | 45 | ||
46 | PACKAGECONFIG ??= "bdb" | 46 | PACKAGECONFIG ??= "bdb" |
47 | PACKAGECONFIG[bdb] = ",,db" | 47 | PACKAGECONFIG[bdb] = ",,db" |