Browse Source

support modern versions of Python.

main
John-Mark Gurney 1 year ago
parent
commit
e3941a4adb
1 changed files with 2 additions and 6 deletions
  1. +2
    -6
      wstools/Utility.py

+ 2
- 6
wstools/Utility.py View File

@@ -28,12 +28,8 @@ try:
except ImportError:
from urllib.parse import urljoin as basejoin # noqa

try:
from UserDict import UserDict
from UserDict import DictMixin # noqa
except ImportError:
from collections import UserDict
from collections import MutableMapping as DictMixin # noqa
from collections import UserDict
from collections.abc import MutableMapping as DictMixin # noqa

from .TimeoutSocket import TimeoutSocket, TimeoutError # noqa



Loading…
Cancel
Save