use thread safe fnmatch
aodh listener is a multi-thread scenario, but fnmatch is not thread safe in python <2.7.10, let's use thread safe implementation in oslo.utils.fnmatch. Change-Id: I49af83ea1a7c43ae4962ecc70c173e8752199e38 ref: https://hg.python.org/cpython/rev/fe12c34c39eb
This commit is contained in:
parent
adc15b1732
commit
51b266786d
@ -13,11 +13,11 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import fnmatch
|
|
||||||
import operator
|
import operator
|
||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
|
from oslo_utils import fnmatch
|
||||||
from oslo_utils import timeutils
|
from oslo_utils import timeutils
|
||||||
import six
|
import six
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ pecan>=0.8.0
|
|||||||
oslo.messaging>2.6.1,!=2.8.0 # Apache-2.0
|
oslo.messaging>2.6.1,!=2.8.0 # Apache-2.0
|
||||||
oslo.middleware>=3.0.0 # Apache-2.0
|
oslo.middleware>=3.0.0 # Apache-2.0
|
||||||
oslo.serialization>=1.4.0 # Apache-2.0
|
oslo.serialization>=1.4.0 # Apache-2.0
|
||||||
oslo.utils>=1.9.0 # Apache-2.0
|
oslo.utils>=3.5.0 # Apache-2.0
|
||||||
python-ceilometerclient>=1.5.0
|
python-ceilometerclient>=1.5.0
|
||||||
python-keystoneclient>=1.6.0
|
python-keystoneclient>=1.6.0
|
||||||
pytz>=2013.6
|
pytz>=2013.6
|
||||||
|
Loading…
x
Reference in New Issue
Block a user