diff --git a/base/univention-config-registry/python/univention/config_registry/backend.py b/base/univention-config-registry/python/univention/config_registry/backend.py index fb0c683d094..b11db602588 100644 --- a/base/univention-config-registry/python/univention/config_registry/backend.py +++ b/base/univention-config-registry/python/univention/config_registry/backend.py @@ -36,7 +36,10 @@ import re import errno import time -from collections.abc import MutableMapping +try: + from collections.abc import MutableMapping # Python 3.3+ +except ImportError: + from collections import MutableMapping import six try: from typing import overload, Any, Dict, IO, Iterator, List, NoReturn, Optional, Set, Tuple, Type, TypeVar, Union # noqa F401