use thread safe fnmatch

fnmatch is not thread safe in python <2.7.10, let's use the safe
one in oslo.utils

Change-Id: If3d480436506ecc5f3c2fcbd51ceaac59f2b7dec
ref: https://hg.python.org/cpython/rev/fe12c34c39eb
This commit is contained in:
ZhiQiang Fan 2016-04-21 11:43:53 +08:00
parent 6566a27478
commit 5b94b4b7a9

View File

@ -13,10 +13,10 @@
# License for the specific language governing permissions and limitations
# under the License.
import fnmatch
import logging
from oslo_config import cfg
from oslo_utils import fnmatch
import six
from stevedore import dispatch
import yaml