SetupFramework: log thread error to console 75/19875/30
authorVratko Polak <vrpolak@cisco.com>
Thu, 13 Jun 2019 14:58:30 +0000 (16:58 +0200)
committerPeter Mikus <pmikus@cisco.com>
Fri, 21 Jun 2019 11:07:02 +0000 (11:07 +0000)
commitcd635521219e7d7988ccfd9d0a173ba07217cd00
tree77ac04e407656912da6c8b1747c53223e43ad594
parenta1d5958923570116e19f6153ae2a35c74f881b13
SetupFramework: log thread error to console

Because logger.error from a non-main thread is lost.

+ Increase verbosity of virtualenv exception.
+ Introduce LocalExecution.py library.
+ Include multiple other style improvements.
+ Add some ssh.py improvements:
  + Accept also commands of OptionString type.
  + Introduce a limited form of raise_from for exception chaining.
  + Add include_reason argument to exec_cmd_no_error.

Change-Id: I0cd92bcdaa1a5c4cc20cb99067593fc3b40d2c31
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
resources/libraries/python/LocalExecution.py [new file with mode: 0644]
resources/libraries/python/SetupFramework.py
resources/libraries/python/ssh.py

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.