Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
python-Genshi
python-Genshi-bug-602-python35-support-python27...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-Genshi-bug-602-python35-support-python27-fix.patch of Package python-Genshi
http://genshi.edgewall.org/ticket/602#comment:2 diff --git a/genshi/template/directives.py b/genshi/template/directives.py index 6fd0f28..1f70ef6 100644 --- a/genshi/template/directives.py +++ b/genshi/template/directives.py @@ -266,7 +266,7 @@ class DefDirective(Directive): if isinstance(ast, _ast.Call): self.name = ast.func.id for arg in ast.args: - if isinstance(arg, _ast.Starred): + if hasattr(_ast, 'Starred') and isinstance(arg, _ast.Starred): # Python 3.5+ self.star_args = arg.value.id else:
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