Merge "Fix python2 AttributeError with strptime" into stable/train
This commit is contained in:
commit
747bf1c453
|
@ -16,6 +16,9 @@
|
||||||
import concurrent.futures
|
import concurrent.futures
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
# work around for https://bugs.python.org/issue7980
|
||||||
|
import _strptime # noqa: F401 pylint: disable=unused-import
|
||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from taskflow import engines as tf_engines
|
from taskflow import engines as tf_engines
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fix a potential AttributeError exception at init time in the housekeeping
|
||||||
|
service when using python2 because of an issue with thread safety when
|
||||||
|
calling strptime for the first time.
|
Loading…
Reference in New Issue