diff --git a/gnocchi/indexer/__init__.py b/gnocchi/indexer/__init__.py index 7d29ba92..e529382c 100644 --- a/gnocchi/indexer/__init__.py +++ b/gnocchi/indexer/__init__.py @@ -13,12 +13,12 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. +import fnmatch import hashlib import os import iso8601 from oslo_config import cfg -from oslo_utils import fnmatch from oslo_utils import netutils import six from stevedore import driver diff --git a/releasenotes/notes/fnmatch-python-2.7-c524ce1e1b238b0a.yaml b/releasenotes/notes/fnmatch-python-2.7-c524ce1e1b238b0a.yaml new file mode 100644 index 00000000..bab5e73a --- /dev/null +++ b/releasenotes/notes/fnmatch-python-2.7-c524ce1e1b238b0a.yaml @@ -0,0 +1,5 @@ +--- +other: + - | + A workaround for a Python 2.7 bug in `fnmatch` has been removed. Makes sure + you use at least Python 2.7.9 to avoid running into it.