Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
salt.24749
make-salt.ext.tornado.gen-to-use-salt.ext.backp...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File make-salt.ext.tornado.gen-to-use-salt.ext.backports_.patch of Package salt.24749
From 023d1256106319d042233021c0f200bcdc0cd1f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Su=C3=A1rez=20Hern=C3=A1ndez?= <psuarezhernandez@suse.com> Date: Fri, 13 Mar 2020 13:01:57 +0000 Subject: [PATCH] Make salt.ext.tornado.gen to use salt.ext.backports_abc on Python 2 --- salt/ext/tornado/gen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/ext/tornado/gen.py b/salt/ext/tornado/gen.py index 6cb19730bf1ef3893a4626e9e144eac1c6fa9683..72f422ce28fa43132782a7a0d61b31acd32d138b 100644 --- a/salt/ext/tornado/gen.py +++ b/salt/ext/tornado/gen.py @@ -115,13 +115,13 @@ try: # py35+ from collections.abc import Generator as GeneratorType # type: ignore except ImportError: - from backports_abc import Generator as GeneratorType # type: ignore + from salt.ext.backports_abc import Generator as GeneratorType # type: ignore try: # py35+ from inspect import isawaitable # type: ignore except ImportError: - from backports_abc import isawaitable + from salt.ext.backports_abc import isawaitable except ImportError: if 'APPENGINE_RUNTIME' not in os.environ: raise -- 2.23.0
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