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:
@@ -10,9 +10,10 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import fnmatch
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
from oslo_utils import fnmatch
|
||||||
|
|
||||||
import heatclient.exc as exc
|
import heatclient.exc as exc
|
||||||
|
|
||||||
from heatclient.openstack.common._i18n import _
|
from heatclient.openstack.common._i18n import _
|
||||||
|
Reference in New Issue
Block a user