comparison sat/core/sat_main.py @ 3040:fee60f17ebac

jp: jp asyncio port: /!\ this commit is huge. Jp is temporarily not working with `dbus` bridge /!\ This patch implements the port of jp to asyncio, so it is now correctly using the bridge asynchronously, and it can be used with bridges like `pb`. This also simplify the code, notably for things which were previously implemented with many callbacks (like pagination with RSM). During the process, some behaviours have been modified/fixed, in jp and backends, check diff for details.
author Goffi <goffi@goffi.org>
date Wed, 25 Sep 2019 08:56:41 +0200
parents ab2696e34d29
children 2cc2f65379f7
comparison
equal deleted inserted replaced
3039:a1bc34f90fa5 3040:fee60f17ebac
258 path=plugin_path, msg=e 258 path=plugin_path, msg=e
259 ) 259 )
260 ) 260 )
261 self._unimport_plugin(plugin_path) 261 self._unimport_plugin(plugin_path)
262 continue 262 continue
263 except Exception as e: 263 except Exception:
264 import traceback 264 import traceback
265 265
266 log.error( 266 log.error(
267 _("Can't import plugin [{path}]:\n{error}").format( 267 _("Can't import plugin [{path}]:\n{error}").format(
268 path=plugin_path, error=traceback.format_exc() 268 path=plugin_path, error=traceback.format_exc()