Replace fnmatch with oslo.utils.fnmatch
oslo.utils has implemented a thread safe fnmatch, we can use it instead of maintaining a private one. Change-Id: Ic02a0d6d1aaa20c85a522996573804fc49ba1e6b
This commit is contained in:
parent
7cf40912df
commit
9ff337881b
@ -1,8 +1,8 @@
|
|||||||
# (C) Copyright 2015 Hewlett Packard Enterprise Development Company LP
|
# (C) Copyright 2015 Hewlett Packard Enterprise Development Company LP
|
||||||
|
|
||||||
from collections import namedtuple
|
from collections import namedtuple
|
||||||
from fnmatch import fnmatch
|
|
||||||
import os
|
import os
|
||||||
|
from oslo_utils import fnmatch
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from monasca_agent.collector.checks import AgentCheck
|
from monasca_agent.collector.checks import AgentCheck
|
||||||
|
Loading…
Reference in New Issue
Block a user