Replace oslo_utils.fnmatch with fnmatch
The oslo_utils.fnmatch module was added to solve an issue in py2.7 but it is no longer required because py2.7 is no longer supported. The module was deprecated since oslo.utils 4.9.1[1] and the stdlib's fnmatch module should be used instead. [1] 4c893c92f551c9dd2a7cfbe7ae8171ad8139df0b Change-Id: I95535adeb45363500b3ed9729bb61cb4308d23b9
This commit is contained in:
@@ -10,10 +10,9 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import fnmatch
|
||||
import logging
|
||||
|
||||
from oslo_utils import fnmatch
|
||||
|
||||
from heatclient._i18n import _
|
||||
from heatclient import exc
|
||||
|
||||
|
Reference in New Issue
Block a user