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:
Bertrand Lallau 2016-05-24 11:02:26 +02:00 committed by Tomasz Trębski
parent 7cf40912df
commit 9ff337881b

View File

@ -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