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: I489271f8fca94b1a1cb3ad30790042fe7468338c
ref: https://hg.python.org/cpython/rev/fe12c34c39eb
This commit is contained in:
ZhiQiang Fan
2016-04-21 12:22:04 +08:00
parent 3f340cd818
commit 38c0684a6b

View File

@@ -10,9 +10,10 @@
# License for the specific language governing permissions and limitations
# under the License.
import fnmatch
import logging
from oslo_utils import fnmatch
import heatclient.exc as exc
from heatclient.openstack.common._i18n import _