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: I1712b6e831e25b33e943aef6b8910d503bb0d0d2
This commit is contained in:
LiuNanke 2016-09-26 14:19:23 +08:00
parent f1227d2da8
commit 4fbe4ee433
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,6 @@
# License for the specific language governing permissions and limitations
# under the License.
import fnmatch
import os.path
import six
@ -23,6 +22,7 @@ from murano.dsl import namespace_resolver
from murano.dsl import package_loader
from murano.engine import yaql_yaml_loader
from murano.tests.unit.dsl.foundation import object_model
from oslo_utils import fnmatch
class TestPackage(murano_package.MuranoPackage):