Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
python-blue
unpin-tomli.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File unpin-tomli.patch of Package python-blue
--- blue/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/blue/__init__.py +++ b/blue/__init__.py @@ -70,7 +70,10 @@ import black.strings from black import Leaf, Path, click, token from black.cache import user_cache_dir from black.comments import ProtoComment, make_comment -from black.files import tomli +try: + from black.files import tomli +except ImportError: + from black.files import tomllib as tomli from black.linegen import LineGenerator as BlackLineGenerator from black.lines import Line from black.nodes import (
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