- work with python 3.10 - added patches fix https://github.com/pycontribs/wstools/issues/37 + python-wstools-python-310.patch OBS-URL: https://build.opensuse.org/request/show/949641 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wstools?expand=0&rev=18
17 lines
696 B
Diff
17 lines
696 B
Diff
Index: wstools-0.4.8/wstools/Utility.py
|
|
===================================================================
|
|
--- wstools-0.4.8.orig/wstools/Utility.py 2018-04-04 11:49:16.000000000 +0200
|
|
+++ wstools-0.4.8/wstools/Utility.py 2022-01-28 10:53:36.881702924 +0100
|
|
@@ -33,7 +33,10 @@ try:
|
|
from UserDict import DictMixin # noqa
|
|
except ImportError:
|
|
from collections import UserDict
|
|
- from collections import MutableMapping as DictMixin # noqa
|
|
+ try:
|
|
+ from collections import MutableMapping as DictMixin # noqa
|
|
+ except ImportError:
|
|
+ from collections.abc import MutableMapping as DictMixin # noqa
|
|
|
|
from .TimeoutSocket import TimeoutSocket, TimeoutError # noqa
|
|
|