Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
python-acitoolkit
python-acitoolkit-python-310.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-acitoolkit-python-310.patch of Package python-acitoolkit
diff --git a/acitoolkit/acitoolkit.py b/acitoolkit/acitoolkit.py index 3c4b0f61..495bf690 100755 --- a/acitoolkit/acitoolkit.py +++ b/acitoolkit/acitoolkit.py @@ -30,7 +30,13 @@ """ Main ACI Toolkit module This is the main module that comprises the ACI Toolkit. """ -from collections import Sequence +try: + # Python <=3.9 + from collections import Sequence +except ImportError: + # Python > 3.8 + from collections.abc import Sequence + import logging from operator import attrgetter, itemgetter import re
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor