Use fnmatch from oslo.utils
Standard library fnmatch in Python versions <= 2.7.9 has thread safe issue[1], we can use thread safe version from oslo.utils. [1]https://bugs.python.org/issue23191 Change-Id: I42e9deed338ef6a9a75bb84fa9efd1aaf2baeccd
This commit is contained in:
parent
8b277fd7d8
commit
5e333fc0f8
@ -14,7 +14,7 @@
|
||||
# under the License.
|
||||
""" Utility module for EMC Unity Manila Driver """
|
||||
|
||||
import fnmatch
|
||||
from oslo_utils import fnmatch
|
||||
|
||||
|
||||
def do_match(full, matcher_list):
|
||||
|
Loading…
Reference in New Issue
Block a user